diff options
author | ZhouyihaiDing <ddyihai@google.com> | 2018-01-31 15:05:52 -0800 |
---|---|---|
committer | ZhouyihaiDing <ddyihai@google.com> | 2018-02-01 11:59:30 -0800 |
commit | 43132b5c6b320821ac3cef6c49c181af34b8364b (patch) | |
tree | bddf3a352168f9734f3eecea5ce5e1dbc4087b9c /src/php/tests | |
parent | f4a94b61266dc468af2de213ea50b997a39b7508 (diff) |
php: remove unrelated code from SharedChannelClose test
Diffstat (limited to 'src/php/tests')
-rw-r--r-- | src/php/tests/unit_tests/ChannelTest.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/php/tests/unit_tests/ChannelTest.php b/src/php/tests/unit_tests/ChannelTest.php index 13a770caff..5baff1fbd9 100644 --- a/src/php/tests/unit_tests/ChannelTest.php +++ b/src/php/tests/unit_tests/ChannelTest.php @@ -380,11 +380,6 @@ class ChannelTest extends PHPUnit_Framework_TestCase // close channel1 $this->channel1->close(); - // channel2 is now in SHUTDOWN state - $state = $this->channel2->getConnectivityState(); - $this->assertEquals(GRPC\CHANNEL_FATAL_FAILURE, $state); - - // calling it again will result in an exception because the // channel is already closed $state = $this->channel2->getConnectivityState(); } |