Skip to content
Snippets Groups Projects
Commit a590704f authored by Boris Stepanenko's avatar Boris Stepanenko Committed by Vladimir Davydov
Browse files

test: fix comparing bool to int in cluster.test.py

In commit c1c77782
("replication: fix bootstrap failing with ER_READONLY")
seek_once was changed to seek_wait. Seek_once returned a non-negative int
on success and -1 if failed, seek_wait returns True on success and
False if failed. Therefore no need to compare it to 0 anymore.

NO_DOC=Minor fix in test
NO_CHANGELOG=Minor fix in test

(cherry picked from commit ed01ac1a)
parent 8aa2c05e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment