@@ -835,19 +835,22 @@ public function testTimeoutWithActiveConcurrentStream()
835
835
}
836
836
}
837
837
838
+ /**
839
+ * @group transient-on-macos
840
+ */
838
841
public function testTimeoutOnInitialize ()
839
842
{
840
843
$ p1 = TestHttpServer::start (8067 );
841
- $ p2 = TestHttpServer::start (8078 );
844
+ $ p2 = TestHttpServer::start (8077 );
842
845
843
846
$ client = $ this ->getHttpClient (__FUNCTION__ );
844
847
$ start = microtime (true );
845
848
$ responses = [];
846
849
847
850
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
848
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
851
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
849
852
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
850
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
853
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
851
854
852
855
try {
853
856
foreach ($ responses as $ response ) {
@@ -868,19 +871,22 @@ public function testTimeoutOnInitialize()
868
871
}
869
872
}
870
873
874
+ /**
875
+ * @group transient-on-macos
876
+ */
871
877
public function testTimeoutOnDestruct ()
872
878
{
873
879
$ p1 = TestHttpServer::start (8067 );
874
- $ p2 = TestHttpServer::start (8078 );
880
+ $ p2 = TestHttpServer::start (8077 );
875
881
876
882
$ client = $ this ->getHttpClient (__FUNCTION__ );
877
883
$ start = microtime (true );
878
884
$ responses = [];
879
885
880
886
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
881
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
887
+ $ responses [] = $ client ->request ('GET ' , 'http://loc
6678
alhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
882
888
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
883
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
889
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
884
890
885
891
try {
886
892
while ($ response = array_shift ($ responses )) {
0 commit comments