1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

ctdb-tests: Skip starting fake_ctdbd when current node is disconnected

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>
This commit is contained in:
Martin Schwenke 2017-10-25 21:43:56 +11:00 committed by Amitay Isaacs
parent dcbaebc232
commit 274fef9b84
2 changed files with 14 additions and 12 deletions

View File

@ -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

View File

@ -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
#####