(cls)
| 393 | |
| 394 | @classmethod |
| 395 | def setUpClass(cls): |
| 396 | super().setUpClass() |
| 397 | conn_spec = cls.cluster.get_connection_spec() |
| 398 | host = conn_spec.get('host') |
| 399 | if not host: |
| 400 | host = '127.0.0.1' |
| 401 | elif host.startswith('/'): |
| 402 | host = '127.0.0.1' |
| 403 | cls.proxy = fuzzer.TCPFuzzingProxy( |
| 404 | backend_host=host, |
| 405 | backend_port=conn_spec['port'], |
| 406 | ) |
| 407 | cls.proxy.start() |
| 408 | |
| 409 | @classmethod |
| 410 | def tearDownClass(cls): |
nothing calls this directly
no test coverage detected