diff --git a/tests/integration/test_merge_tree_s3_failover/test.py b/tests/integration/test_merge_tree_s3_failover/test.py index 8e37164c721..11a1e464cb6 100644 --- a/tests/integration/test_merge_tree_s3_failover/test.py +++ b/tests/integration/test_merge_tree_s3_failover/test.py @@ -166,7 +166,7 @@ def test_move_failover(cluster): # First attempt should be failed with expected error. exception = node.query(""" SELECT exception FROM system.part_log - WHERE event_type='MovePart' AND table='s3_failover_test' + WHERE event_type='MovePart' AND table='s3_failover_test' AND notEmpty(exception) ORDER BY event_time LIMIT 1 """)