(cls)
| 402 | |
| 403 | @classmethod |
| 404 | def setUpClass(cls): |
| 405 | super().setUpClass() |
| 406 | conn_spec = cls.cluster.get_connection_spec() |
| 407 | host = conn_spec.get('host') |
| 408 | if not host: |
| 409 | host = '127.0.0.1' |
| 410 | elif host.startswith('/'): |
| 411 | host = '127.0.0.1' |
| 412 | cls.proxy = fuzzer.TCPFuzzingProxy( |
| 413 | backend_host=host, |
| 414 | backend_port=int(conn_spec['port']), |
| 415 | ) |
| 416 | cls.proxy.start() |
| 417 | |
| 418 | @classmethod |
| 419 | def tearDownClass(cls): |
nothing calls this directly
no test coverage detected