3 .
"${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test
"ban default (0), wait for timeout"
9 0 192.168.20.41 0x0 CURRENT RECMASTER
17 required_result
8 <<EOF
19 pnn:0 192.168.20.41 BANNED|INACTIVE (THIS NODE)
20 pnn:1 192.168.20.42 OK
21 pnn:2 192.168.20.43 OK
23 simple_test_other nodestatus all
26 echo "Waiting 5 seconds for ban to expire..."
31 pnn:0 192.168.20.41 OK (THIS NODE)
32 pnn:1 192.168.20.42 OK
33 pnn:2 192.168.20.43 OK
35 simple_test_other nodestatus all