diff options
author | Juanli Shen <juanlishen@google.com> | 2018-09-24 16:50:39 -0700 |
---|---|---|
committer | Juanli Shen <juanlishen@google.com> | 2018-09-24 16:50:39 -0700 |
commit | a4345934a3e8c2ca9531b5aec1630b9d468bd8f8 (patch) | |
tree | 1f73303812f243ad7b166c5b251777e76f0dd626 /src/php | |
parent | b522334d633ce9bd8d9391edaa17aae73b29b212 (diff) |
Use unique port in php test
Diffstat (limited to 'src/php')
-rw-r--r-- | src/php/tests/unit_tests/ChannelTest.php | 4 |
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); |