mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Fixed regexp in test_match_process_uid_against_data_owner
.
This commit is contained in:
parent
07210c7b55
commit
39edbeba35
@ -33,7 +33,7 @@ def test_different_user(started_cluster):
|
|||||||
node.start_clickhouse(start_wait_sec=3)
|
node.start_clickhouse(start_wait_sec=3)
|
||||||
|
|
||||||
log = node.grep_in_log("Effective")
|
log = node.grep_in_log("Effective")
|
||||||
expected_message = "Effective user of the process \(.*\) does not match the owner of the data \(.*\)\. Run under 'sudo -u .*'\."
|
expected_message = "Effective user of the process (.*) does not match the owner of the data (.*)\\. Run under 'sudo -u .*'\\."
|
||||||
if re.search(expected_message, log) is None:
|
if re.search(expected_message, log) is None:
|
||||||
pytest.fail(
|
pytest.fail(
|
||||||
'Expected the server to fail with a message "{}", but the last message is "{}"'.format(
|
'Expected the server to fail with a message "{}", but the last message is "{}"'.format(
|
||||||
|
Loading…
Reference in New Issue
Block a user