Skip to content
Snippets Groups Projects
Commit 311c74ec authored by Jan Tattermusch's avatar Jan Tattermusch Committed by GitHub
Browse files

Merge pull request #6972 from nathanielmanistaatgoogle/fatal_failure→shutdown

Correct lingering FATAL_FAILURE sites
parents 34d052a6 3b5ae53c
No related branches found
No related tags found
No related merge requests found
...@@ -135,12 +135,12 @@ class ChannelConnectivityTest(unittest.TestCase): ...@@ -135,12 +135,12 @@ class ChannelConnectivityTest(unittest.TestCase):
self.assertNotIn( self.assertNotIn(
grpc.ChannelConnectivity.TRANSIENT_FAILURE, third_connectivities) grpc.ChannelConnectivity.TRANSIENT_FAILURE, third_connectivities)
self.assertNotIn( self.assertNotIn(
grpc.ChannelConnectivity.FATAL_FAILURE, third_connectivities) grpc.ChannelConnectivity.SHUTDOWN, third_connectivities)
self.assertNotIn( self.assertNotIn(
grpc.ChannelConnectivity.TRANSIENT_FAILURE, grpc.ChannelConnectivity.TRANSIENT_FAILURE,
fourth_connectivities) fourth_connectivities)
self.assertNotIn( self.assertNotIn(
grpc.ChannelConnectivity.FATAL_FAILURE, fourth_connectivities) grpc.ChannelConnectivity.SHUTDOWN, fourth_connectivities)
def test_reachable_then_unreachable_channel_connectivity(self): def test_reachable_then_unreachable_channel_connectivity(self):
server = _server.Server((), futures.ThreadPoolExecutor(max_workers=0)) server = _server.Server((), futures.ThreadPoolExecutor(max_workers=0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment