summaryrefslogtreecommitdiff
path: root/ctdb/tests/INTEGRATION/simple
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-12-11 18:47:29 +1100
committerAmitay Isaacs <amitay@samba.org>2020-02-12 03:11:39 +0000
commitb9f23f5b49cc2a541c53703c509b70583bc346b4 (patch)
tree7d2202f7221b9611b56cd6949401a40b883573bf /ctdb/tests/INTEGRATION/simple
parent0162fd87ed71d6055bfa626854889dcd196b577e (diff)
downloadsamba-b9f23f5b49cc2a541c53703c509b70583bc346b4.tar.gz
ctdb-tests: Use select_test_node()
select_test_node_and_ips() is not required in these cases. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/tests/INTEGRATION/simple')
-rwxr-xr-xctdb/tests/INTEGRATION/simple/cluster.091.version_check.sh2
-rwxr-xr-xctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh3
2 files changed, 2 insertions, 3 deletions
diff --git a/ctdb/tests/INTEGRATION/simple/cluster.091.version_check.sh b/ctdb/tests/INTEGRATION/simple/cluster.091.version_check.sh
index fccc802b370..4076047a8fe 100755
--- a/ctdb/tests/INTEGRATION/simple/cluster.091.version_check.sh
+++ b/ctdb/tests/INTEGRATION/simple/cluster.091.version_check.sh
@@ -17,7 +17,7 @@ ctdb_test_init
cluster_is_healthy
-select_test_node_and_ips
+select_test_node
try_command_on_node -v "$test_node" ctdb version
version="$out"
diff --git a/ctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh b/ctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh
index 9a42af80946..2f3ce75f74e 100755
--- a/ctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh
+++ b/ctdb/tests/INTEGRATION/simple/eventscripts.090.debug_hung.sh
@@ -25,8 +25,7 @@ ctdb_test_init
cluster_is_healthy
-# This is overkill but it at least provides a valid test node
-select_test_node_and_ips
+select_test_node
####################