@@ -838,16 +838,16 @@ public function testTimeoutWithActiveConcurrentStream()
838
838
public function testTimeoutOnInitialize ()
839
839
{
840
840
$ p1 = TestHttpServer::start (8067 );
841
- $ p2 = TestHttpServer::start (8077 );
841
+ $ p2 = TestHttpServer::start (8078 );
842
842
843
843
$ client = $ this ->getHttpClient (__FUNCTION__ );
844
844
$ start = microtime (true );
845
845
$ responses = [];
846
846
847
847
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
848
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
848
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
849
849
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
850
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
850
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
851
851
852
852
try {
853
853
foreach ($ responses as $ response ) {
@@ -871,16 +871,16 @@ public function testTimeoutOnInitialize()
871
871
public function testTimeoutOnDestruct ()
872
872
{
873
873
$ p1 = TestHttpServer::start (8067 );
874
- $ p2 = TestHttpServer::start (8077 );
874
+ $ p2 = TestHttpServer::start (8078 );
875
875
876
876
$ client = $ this ->getHttpClient (__FUNCTION__ );
877
877
$ start = microtime (true );
878
878
$ responses = [];
879
879
880
880
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
881
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
881
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
882
882
$ responses [] = $ client ->request ('GET ' , 'http://localhost:8067/timeout-header ' , ['timeout ' => 0.25 ]);
883
- $ responses [] = $ client ->request ('GET ' , 'http://localhost:8077 /timeout-header ' , ['timeout ' => 0.25 ]);
883
+ $ responses [] = $ client ->request ('GET ' , 'http://localhost:8078 /timeout-header ' , ['timeout ' => 0.25 ]);
884
884
885
885
try {
886
886
while ($ response = array_shift ($ responses )) {
0 commit comments