Skip to content

Commit b5d0337

Browse files
committed
Merge PR ceph#54041 into main
* refs/pull/54041/head: qa: fix error reporting string in assert_cluster_log Reviewed-by: Milind Changire <[email protected]> Reviewed-by: Neeraj Pratap Singh <[email protected]> Reviewed-by: Venky Shankar <[email protected]>
2 parents 035b9e6 + 76755da commit b5d0337

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
@@ -257,7 +257,7 @@ def __exit__(self, exc_type, exc_val, exc_tb):
257257

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

0 commit comments

Comments
 (0)