@@ -813,16 +813,16 @@ public function testTimeoutWithActiveConcurrentStream()
813
813
public function testTimeoutOnInitialize ()
814
814
{
815
815
$ p1 = TestHttpServer::start (8067 );
816
- $ p2 = TestHttpServer::start (8077 );
816
+ $ p2 = TestHttpServer::start (8078 );
817
817
818
818
$ client = $ this ->getHttpClient (__FUNCTION__ );
819
819
$ start = microtime (true );
820
820
$ responses = [];
821
821
822
822
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
823
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
823
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
824
824
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
825
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
825
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
826
826
827
827
try {
828
828
foreach ($ responses as $ response ) {
@@ -846,16 +846,16 @@ public function testTimeoutOnInitialize()
846
846
public function testTimeoutOnDestruct ()
847
847
{
848
848
$ p1 = TestHttpServer::start (8067 );
849
- $ p2 = TestHttpServer::start (8077 );
849
+ $ p2 = TestHttpServer::start (8078 );
850
850
851
851
$ client = $ this ->getHttpClient (__FUNCTION__ );
852
852
$ start = microtime (true );
853
853
$ responses = [];
854
854
855
855
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
856
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
856
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
857
857
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
858
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
858
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
859
859
860
860
try {
861
861
while ($ response = array_shift ($ responses )) {
0 commit comments