mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
test_read_temporary_tables_on_failure: increase timeout to avoid false-positive
In [1]: start_cluster = <helpers.cluster.ClickHouseCluster object at 0x7f2d46895dd8> def test_different_versions(start_cluster): with pytest.raises(QueryTimeoutExceedException): node.query("SELECT sleep(3)", timeout=1) with pytest.raises(QueryRuntimeException): > node.query("SELECT 1", settings={'max_concurrent_queries_for_user': 1}) E Failed: DID NOT RAISE <class 'helpers.client.QueryRuntimeException'> [1]: https://clickhouse-test-reports.s3.yandex.net/19451/b68508002d134ead05bf2ca0e22a13a34a5c55c6/integration_tests_(thread).html#fail1
This commit is contained in:
parent
33628e1bd9
commit
ac510f9770
@ -19,7 +19,7 @@ def start_cluster():
|
||||
|
||||
def test_different_versions(start_cluster):
|
||||
with pytest.raises(QueryTimeoutExceedException):
|
||||
node.query("SELECT sleep(3)", timeout=1)
|
||||
node.query("SELECT sleepEachRow(3) FROM numbers(10)", timeout=5)
|
||||
with pytest.raises(QueryRuntimeException):
|
||||
node.query("SELECT 1", settings={'max_concurrent_queries_for_user': 1})
|
||||
assert node.contains_in_log('Too many simultaneous queries for user')
|
||||
|
Loading…
Reference in New Issue
Block a user