ctdb-tests: Skip starting fake_ctdbd when current node is disconnected
authorMartin Schwenke <martin@meltin.net>
Wed, 25 Oct 2017 10:43:56 +0000 (21:43 +1100)
committerAmitay Isaacs <amitay@samba.org>
Thu, 26 Oct 2017 07:35:25 +0000 (09:35 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13097

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/tool/ctdb.getcapabilities.003.sh
ctdb/tests/tool/ctdb.lvs.008.sh

index 91d38b8c9e336c8b15ffc1f270a1d5a7e48c4527..74702d5b5e7017cbe3bbd081bb704fb26d6477e3 100755 (executable)
@@ -10,12 +10,13 @@ setup_nodes <<EOF
 192.168.20.43
 EOF
 
-setup_ctdbd <<EOF
-NODEMAP
-0       192.168.20.41   0x1     CURRENT RECMASTER
-1       192.168.20.42   0x0
-2       192.168.20.43   0x0
-EOF
+# Don't setup ctdbd - disconnected on current node
+#setup_ctdbd <<EOF
+#NODEMAP
+#0       192.168.20.41   0x1     CURRENT RECMASTER
+#1       192.168.20.42   0x0
+#2       192.168.20.43   0x0
+#EOF
 
 required_result 1 <<EOF
 connect() failed, errno=2
index a0e24b14afd8af76fcfc2c171abf16ffaca3df70..6cdd702c57cb206553df4235e0c742e4067bd296 100755 (executable)
@@ -13,12 +13,13 @@ EOF
 setup_lvs <<EOF
 EOF
 
-setup_ctdbd <<EOF
-NODEMAP
-0       192.168.20.41   0x1     CURRENT RECMASTER
-1       192.168.20.42   0x0
-2       192.168.20.43   0x0
-EOF
+# Don't setup ctdbd - disconnected on current node
+#setup_ctdbd <<EOF
+#NODEMAP
+#0       192.168.20.41   0x1     CURRENT RECMASTER
+#1       192.168.20.42   0x0
+#2       192.168.20.43   0x0
+#EOF
 
 #####