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