mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Mon Feb 10 05:34:08 UTC 2020 on sn-devel-184
26 lines
443 B
Bash
Executable File
26 lines
443 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "3 nodes, all OK, GET_NODEMAP control times out"
|
|
|
|
setup_natgw <<EOF
|
|
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
|
|
|
|
CONTROLFAILS
|
|
91 0 TIMEOUT # Make "ctdb nodestatus" time out in ctdb_natgw helper
|
|
EOF
|
|
|
|
#####
|
|
|
|
required_result 1 <<EOF
|
|
Maximum runtime exceeded - exiting
|
|
EOF
|
|
simple_test status -T 3
|