ctdb-tests: Minimise chances of test interfering with itself
authorMartin Schwenke <martin@meltin.net>
Tue, 18 Dec 2018 03:31:24 +0000 (14:31 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 18 Dec 2018 06:12:10 +0000 (07:12 +0100)
commit2e3ad8c20d2964fba14d0d5b0b36c334ac22caa5
tree32e4e338c109cd9417b20661cd3456e505c35b83
parentf1b594dce1c081924b16c52c8c50c984a16df098
ctdb-tests: Minimise chances of test interfering with itself

Checking that the database contains 0 records cause a traverse.  This
may take a lock and cause vacuuming to fail (or be deferred for a
particular record/chain).  Minimise the chance of this happening by
only checking for 0 records every 10 seconds.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/simple/69_recovery_resurrect_deleted.sh