(cls)
| 298 | class ClusterTestCase(TestCase): |
| 299 | @classmethod |
| 300 | def get_server_settings(cls): |
| 301 | settings = { |
| 302 | 'log_connections': 'on' |
| 303 | } |
| 304 | |
| 305 | if cls.cluster.get_pg_version() >= (11, 0): |
| 306 | # JITting messes up timing tests, and |
| 307 | # is not essential for testing. |
| 308 | settings['jit'] = 'off' |
| 309 | |
| 310 | return settings |
| 311 | |
| 312 | @classmethod |
| 313 | def new_cluster(cls, ClusterCls, *, cluster_kwargs={}, initdb_options={}): |
no test coverage detected