Skip to content

Commit

Permalink
Use unique port in php test
Browse files Browse the repository at this point in the history
  • Loading branch information
AspirinSJL committed Sep 24, 2018
1 parent b522334 commit a434593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/php/tests/unit_tests/ChannelTest.php
Expand Up @@ -599,10 +599,10 @@ public function testPersistentChannelForceNewOldChannelIdle1()
public function testPersistentChannelForceNewOldChannelIdle2()
{

$this->channel1 = new Grpc\Channel('localhost:50029', [
$this->channel1 = new Grpc\Channel('localhost:50032', [
"grpc_target_persist_bound" => 2,
]);
$this->channel2 = new Grpc\Channel('localhost:50029', []);
$this->channel2 = new Grpc\Channel('localhost:50032', []);

// try to connect on channel2
$state = $this->channel1->getConnectivityState(true);
Expand Down

0 comments on commit a434593

Please sign in to comment.