Skip to content

Commit 76755da

Browse files
committed
qa: fix error reporting string in assert_cluster_log
Fixes: https://tracker.ceph.com/issues/63217 Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
1 parent 4a426ea commit 76755da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa/tasks/ceph_test_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def __exit__(self, exc_type, exc_val, exc_tb):
255255

256256
if present and not self.match():
257257
log.error(f"Log output: \n{self.watcher_process.stdout.getvalue()}\n")
258-
raise AssertionError(f"Expected log message found: '{expected_pattern}'")
258+
raise AssertionError(f"Expected log message not found: '{expected_pattern}'")
259259
elif fail or (not present and self.match()):
260260
log.error(f"Log output: \n{self.watcher_process.stdout.getvalue()}\n")
261261
raise AssertionError(f"Unexpected log message found: '{expected_pattern}'")

0 commit comments

Comments
 (0)