Home
last modified time | relevance | path

Searched refs:ChannelConnectivity (Results 1 – 9 of 9) sorted by relevance

/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_channel_connectivity_test.py26 return grpc.ChannelConnectivity.READY in connectivities
30 return connectivities[-1] is not grpc.ChannelConnectivity.READY
77 self.assertSequenceEqual((grpc.ChannelConnectivity.IDLE,),
79 self.assertNotIn(grpc.ChannelConnectivity.READY, second_connectivities)
80 self.assertNotIn(grpc.ChannelConnectivity.READY, third_connectivities)
81 self.assertNotIn(grpc.ChannelConnectivity.READY, fourth_connectivities)
82 self.assertNotIn(grpc.ChannelConnectivity.READY, fifth_connectivities)
112 self.assertSequenceEqual((grpc.ChannelConnectivity.IDLE,),
114 self.assertSequenceEqual((grpc.ChannelConnectivity.IDLE,),
116 self.assertNotIn(grpc.ChannelConnectivity.TRANSIENT_FAILURE,
[all …]
D_api_test.py89 grpc.ChannelConnectivity.IDLE,
90 grpc.ChannelConnectivity.CONNECTING,
91 grpc.ChannelConnectivity.READY,
92 grpc.ChannelConnectivity.TRANSIENT_FAILURE,
93 grpc.ChannelConnectivity.SHUTDOWN,
94 ), tuple(grpc.ChannelConnectivity))
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/beta/
D_connectivity_channel_test.py24 self.assertIsNotNone(interfaces.ChannelConnectivity.IDLE)
25 self.assertIsNotNone(interfaces.ChannelConnectivity.CONNECTING)
26 self.assertIsNotNone(interfaces.ChannelConnectivity.READY)
27 self.assertIsNotNone(interfaces.ChannelConnectivity.TRANSIENT_FAILURE)
28 self.assertIsNotNone(interfaces.ChannelConnectivity.FATAL_FAILURE)
/external/grpc-grpc/src/python/grpcio/grpc/beta/
Dinterfaces.py22 ChannelConnectivity = grpc.ChannelConnectivity variable
24 ChannelConnectivity.FATAL_FAILURE = ChannelConnectivity.SHUTDOWN
Dutilities.py60 connectivity is interfaces.ChannelConnectivity.READY):
/external/grpc-grpc/src/python/grpcio/grpc/
D_common.py28 grpc.ChannelConnectivity.IDLE,
30 grpc.ChannelConnectivity.CONNECTING,
32 grpc.ChannelConnectivity.READY,
34 grpc.ChannelConnectivity.TRANSIENT_FAILURE,
36 grpc.ChannelConnectivity.SHUTDOWN,
D_utilities.py91 connectivity is grpc.ChannelConnectivity.READY):
D__init__.py192 class ChannelConnectivity(enum.Enum): class
/external/grpc-grpc/src/python/grpcio_tests/tests/fork/
Dmethods.py246 ) < 2 or child_states[-1] != grpc.ChannelConnectivity.READY:
263 ) < 2 or parent_states[-1] != grpc.ChannelConnectivity.READY: