3 .
"${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test
"12+4 IPs, 4 nodes, multiple transitions"
7 export CTDB_TEST_LOGLEVEL
=0
11 echo "Node 3 stopped -> continue node 3, all healthy"
32 simple_test
0,0,0,0 <<EOF
51 echo "All healthy -> stop node 0"
72 simple_test
0x20,0,0,0 <<EOF
76 echo "Continue node 0, all healthy"
97 simple_test
0,0,0,0 <<EOF
101 echo "All healthy -> stop node 1"
103 required_result
<<EOF
122 simple_test
0,0x20,0,0 <<EOF
126 echo "Continue node 1, all healthy"
128 required_result
<<EOF
147 simple_test
0,0,0,0 <<EOF
151 echo "All healthy -> Stop node 2"
153 required_result
<<EOF
172 simple_test
0,0,0x20,0 <<EOF
176 echo "Continue node 2, all healthy"
178 required_result
<<EOF
197 simple_test
0,0,0,0 <<EOF
201 echo "All healthy -> stop node 3"
203 required_result
<<EOF
222 simple_test
0,0,0,0x20 <<EOF
226 echo "Continue node 3, all healthy"
228 required_result
<<EOF
247 simple_test
0,0,0,0 <<EOF
251 echo "All healthy -> node 0 stopped"
253 required_result
<<EOF
272 simple_test
0x20,0,0,0 <<EOF
276 echo "Continue node 0, all healthy"
278 required_result
<<EOF
297 simple_test
0,0,0,0 <<EOF
301 echo "All healthy -> node 1 stopped"
303 required_result
<<EOF
322 simple_test
0,0x20,0,0 <<EOF
326 echo "Continue node 1, all healthy"
328 required_result
<<EOF
347 simple_test
0,0,0,0 <<EOF
351 echo "All healthy -> node 2 stopped"
353 required_result
<<EOF
372 simple_test
0,0,0x20,0 <<EOF
376 echo "Continue node 2, all healthy"
378 required_result
<<EOF
397 simple_test
0,0,0,0 <<EOF
401 echo "All healthy -> node 3 stopped"
403 required_result
<<EOF
422 simple_test
0,0,0,0x20 <<EOF
426 echo "Continue node 3, all healthy"
428 required_result
<<EOF
447 simple_test
0,0,0,0 <<EOF