Remove timeouts

This commit is contained in:
alesapin 2021-06-21 23:02:00 +03:00
parent c9c22996d4
commit 8bbe65b4f4

View File

@ -20,9 +20,6 @@ system_logs = [
('system.metric_log', 1),
]
# 60 -- Default timeout for flush
timeout = pytest.mark.timeout(60)
@pytest.fixture(scope='module', autouse=True)
def start_cluster():
@ -38,7 +35,6 @@ def flush_logs():
node.query('SYSTEM FLUSH LOGS')
@timeout
@pytest.mark.parametrize('table,exists', system_logs)
def test_system_logs(flush_logs, table, exists):
q = 'SELECT * FROM {}'.format(table)
@ -50,7 +46,6 @@ def test_system_logs(flush_logs, table, exists):
# Logic is tricky, let's check that there is no hang in case of message queue
# is not empty (this is another code path in the code).
@timeout
def test_system_logs_non_empty_queue():
node.query('SELECT 1', settings={
# right now defaults are the same,