]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-tests: Drop uses of "onnode any ..." in testcases
authorMartin Schwenke <martin@meltin.net>
Tue, 10 Dec 2019 00:33:02 +0000 (11:33 +1100)
committerMartin Schwenke <martins@samba.org>
Wed, 22 Jul 2020 07:53:36 +0000 (07:53 +0000)
commit41ff58338a0b36dfccc19579c8edfa5939cd5978
treea711dbbbed71c1584f8b2782842f1793ad109f7e
parentce3de3989470d186ce73e6e74aa7f16111e2a6fa
ctdb-tests: Drop uses of "onnode any ..." in testcases

It would be nice to get rid of "onnode any".  There's no use making
tests nondeterministic.  If covering different cases matters then they
should be explicitly handled.

In most places "any" is replaced by "$test_node".  In some cases,
where $test_node is not set, a fixed node that is already used
elsewhere can be reused.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/CLUSTER/complex/18_ctdb_reloadips.sh
ctdb/tests/CLUSTER/complex/31_nfs_tickle.sh
ctdb/tests/CLUSTER/complex/34_nfs_tickle_restart.sh
ctdb/tests/INTEGRATION/database/readonly.001.basic.sh
ctdb/tests/INTEGRATION/database/recovery.001.volatile.sh
ctdb/tests/INTEGRATION/failover/pubips.012.reloadips.sh
ctdb/tests/INTEGRATION/failover/pubips.013.failover_noop.sh
ctdb/tests/INTEGRATION/failover/pubips.020.moveip.sh