From a4345934a3e8c2ca9531b5aec1630b9d468bd8f8 Mon Sep 17 00:00:00 2001 From: Juanli Shen Date: Mon, 24 Sep 2018 16:50:39 -0700 Subject: Use unique port in php test --- src/php/tests/unit_tests/ChannelTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/php') 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); -- cgit v1.2.3