@@ -810,19 +810,22 @@ public function testTimeoutWithActiveConcurrentStream()
810
810
}
811
811
}
812
812
813
+ /**
814
+ * @group transient-on-macos
815
+ */
813
816
public function testTimeoutOnInitialize ()
814
817
{
815
818
$ p1 = TestHttpServer::start (8067 );
816
- $ p2 = TestHttpServer::start (8078 );
819
+ $ p2 = TestHttpServer::start (8077 );
817
820
818
821
$ client = $ this ->getHttpClient (__FUNCTION__ );
819
822
$ start = microtime (true );
820
823
$ responses = [];
821
824
822
825
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
823
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
826
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
824
827
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
825
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
828
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
826
829
827
830
try {
828
831
foreach ($ responses as $ response ) {
@@ -843,19 +846,22 @@ public function testTimeoutOnInitialize()
843
846
}
844
847
}
845
848
849
+ /**
850
+ * @group transient-on-macos
851
+ */
846
852
public function testTimeoutOnDestruct ()
847
853
{
848
854
$ p1 = TestHttpServer::start (8067 );
849
- $ p2 = TestHttpServer::start (8078 );
855
+ $ p2 = TestHttpServer::start (8077 );
850
856
851
857
$ client = $ this ->getHttpClient (__FUNCTION__ );
852
858
$ start = microtime (true );
853
859
$ responses = [];
854
860
855
861
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
856
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
862
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
857
863
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
858
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
864
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
859
865
860
866
try {
861
867
while ($ response = array_shift ($ responses )) {
0 commit comments