MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / validate_host_viable

Function validate_host_viable

tests/integration/long/test_ipv6.py:63–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def validate_host_viable():
64 # this is something ccm does when starting, but preemptively check to avoid
65 # spinning up the cluster if it's not going to work
66 try:
67 common.assert_socket_available(('::1', 9042))
68 except:
69 raise unittest.SkipTest('failed binding ipv6 loopback ::1 on 9042')
70
71
72class IPV6ConnectionTest(object):

Callers 1

setup_moduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected