mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +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)
|
||||
|
||||
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:
|
||||
pytest.fail(
|
||||
'Expected the server to fail with a message "{}", but the last message is "{}"'.format(
|
||||
|
Loading…
Reference in New Issue
Block a user