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:
parent
dcbaebc232
commit
274fef9b84
@ -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
|
||||
|
@ -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
|
||||
|
||||
#####
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user