aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Juanli Shen <aspirinsjl@gmail.com>2018-09-24 17:11:54 -0700
committerGravatar GitHub <noreply@github.com>2018-09-24 17:11:54 -0700
commitccbad108e45afb7c4fb361202cc0bae5ad7e5da2 (patch)
tree91f6e826ca83536ed10e15f72c5c15c81034b64d
parente7fab938f4e0d4448a597d14a29f80aa4af7392b (diff)
parenta4345934a3e8c2ca9531b5aec1630b9d468bd8f8 (diff)
Merge pull request #16693 from AspirinSJL/use_different_port
Use unique port in php test
-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);