summaryrefslogtreecommitdiff
path: root/ctdb/tests/tool/ctdb.reloadnodes.001.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/tests/tool/ctdb.reloadnodes.001.sh')
-rwxr-xr-xctdb/tests/tool/ctdb.reloadnodes.001.sh20
1 files changed, 8 insertions, 12 deletions
diff --git a/ctdb/tests/tool/ctdb.reloadnodes.001.sh b/ctdb/tests/tool/ctdb.reloadnodes.001.sh
index 3d76b79c797..24cd94af76c 100755
--- a/ctdb/tests/tool/ctdb.reloadnodes.001.sh
+++ b/ctdb/tests/tool/ctdb.reloadnodes.001.sh
@@ -10,6 +10,13 @@ setup_nodes <<EOF
192.168.20.43
EOF
+setup_ctdbd <<EOF
+NODEMAP
+0 192.168.20.41 0x0 CURRENT RECMASTER
+1 192.168.20.42 0x0
+2 192.168.20.43 0x0
+EOF
+
ok <<EOF
Node 0 is unchanged
Node 1 is unchanged
@@ -17,15 +24,4 @@ Node 2 is unchanged
No change in nodes file, skipping unnecessary reload
EOF
-simple_test <<EOF
-NODEMAP
-0 192.168.20.41 0x0 CURRENT RECMASTER
-1 192.168.20.42 0x0
-2 192.168.20.43 0x0
-
-VNNMAP
-654321
-0
-1
-2
-EOF
+simple_test