aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php
diff options
context:
space:
mode:
authorGravatar Juanli Shen <juanlishen@google.com>2018-09-24 16:50:39 -0700
committerGravatar Juanli Shen <juanlishen@google.com>2018-09-24 16:50:39 -0700
commita4345934a3e8c2ca9531b5aec1630b9d468bd8f8 (patch)
tree1f73303812f243ad7b166c5b251777e76f0dd626 /src/php
parentb522334d633ce9bd8d9391edaa17aae73b29b212 (diff)
Use unique port in php test
Diffstat (limited to 'src/php')
-rw-r--r--src/php/tests/unit_tests/ChannelTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/php/tests/unit_tests/ChannelTest.php b/src/php/tests/unit_tests/ChannelTest.php
index 49b0e350f7..583c618d32 100644
--- a/src/php/tests/unit_tests/ChannelTest.php
+++ b/src/php/tests/unit_tests/ChannelTest.php
@@ -599,10 +599,10 @@ class ChannelTest extends PHPUnit_Framework_TestCase
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);