()
| 61 | |
| 62 | |
| 63 | def 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 | |
| 72 | class IPV6ConnectionTest(object): |