|
Last change
on this file was 988, checked in by Silvan Scherrer, 9 years ago |
|
Samba Server: update vendor to version 4.4.3
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 |
|
|---|
| 3 | . "${TEST_SCRIPTS_DIR}/unit.sh"
|
|---|
| 4 |
|
|---|
| 5 | define_test "12+4 IPs, 4 nodes, 2 -> 3 -> 4 healthy"
|
|---|
| 6 |
|
|---|
| 7 | export CTDB_TEST_LOGLEVEL=0
|
|---|
| 8 |
|
|---|
| 9 | set -e
|
|---|
| 10 |
|
|---|
| 11 | echo "Nodes 2, 3 disconnected -> node 2 attaches"
|
|---|
| 12 |
|
|---|
| 13 | required_result <<EOF
|
|---|
| 14 | 130.216.30.181 2
|
|---|
| 15 | 130.216.30.180 0
|
|---|
| 16 | 130.216.30.179 2
|
|---|
| 17 | 130.216.30.178 1
|
|---|
| 18 | 130.216.30.177 0
|
|---|
| 19 | 130.216.30.176 1
|
|---|
| 20 | 130.216.30.175 0
|
|---|
| 21 | 130.216.30.174 2
|
|---|
| 22 | 130.216.30.173 1
|
|---|
| 23 | 130.216.30.172 2
|
|---|
| 24 | 130.216.30.171 1
|
|---|
| 25 | 130.216.30.170 0
|
|---|
| 26 | 10.19.99.253 2
|
|---|
| 27 | 10.19.99.252 0
|
|---|
| 28 | 10.19.99.251 1
|
|---|
| 29 | 10.19.99.250 0
|
|---|
| 30 | EOF
|
|---|
| 31 |
|
|---|
| 32 | simple_test 0,0,0,1 <<EOF
|
|---|
| 33 | 10.19.99.253 1
|
|---|
| 34 | 10.19.99.252 0
|
|---|
| 35 | 10.19.99.251 1
|
|---|
| 36 | 10.19.99.250 0
|
|---|
| 37 | 130.216.30.181 1
|
|---|
| 38 | 130.216.30.180 0
|
|---|
| 39 | 130.216.30.179 0
|
|---|
| 40 | 130.216.30.178 1
|
|---|
| 41 | 130.216.30.177 0
|
|---|
| 42 | 130.216.30.176 1
|
|---|
| 43 | 130.216.30.175 0
|
|---|
| 44 | 130.216.30.174 1
|
|---|
| 45 | 130.216.30.173 1
|
|---|
| 46 | 130.216.30.172 0
|
|---|
| 47 | 130.216.30.171 1
|
|---|
| 48 | 130.216.30.170 0
|
|---|
| 49 | EOF
|
|---|
| 50 |
|
|---|
| 51 | echo "Node 3 attaches"
|
|---|
| 52 |
|
|---|
| 53 | required_result <<EOF
|
|---|
| 54 | 130.216.30.181 2
|
|---|
| 55 | 130.216.30.180 3
|
|---|
| 56 | 130.216.30.179 3
|
|---|
| 57 | 130.216.30.178 1
|
|---|
| 58 | 130.216.30.177 0
|
|---|
| 59 | 130.216.30.176 1
|
|---|
| 60 | 130.216.30.175 0
|
|---|
| 61 | 130.216.30.174 2
|
|---|
| 62 | 130.216.30.173 3
|
|---|
| 63 | 130.216.30.172 2
|
|---|
| 64 | 130.216.30.171 1
|
|---|
| 65 | 130.216.30.170 0
|
|---|
| 66 | 10.19.99.253 2
|
|---|
| 67 | 10.19.99.252 3
|
|---|
| 68 | 10.19.99.251 1
|
|---|
| 69 | 10.19.99.250 0
|
|---|
| 70 | EOF
|
|---|
| 71 |
|
|---|
| 72 | simple_test 0,0,0,0 <<EOF
|
|---|
| 73 | $_out
|
|---|
| 74 | EOF
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.