diff --git a/test/replication-py/cluster.test.py b/test/replication-py/cluster.test.py index 391f6ae5e1ec142a3022d41a49d49e91149d408c..8cb47cc1849ad5c82232b87bbab0a96afe1c9d8e 100644 --- a/test/replication-py/cluster.test.py +++ b/test/replication-py/cluster.test.py @@ -237,7 +237,7 @@ failed.name = "failed" failed.deploy(True, wait=False) line = "ER_READONLY" -if failed.logfile_pos.seek_wait(line) >= 0: +if failed.logfile_pos.seek_wait(line): print("'{}' exists in server log".format(line)) failed.stop()