diff options
| author | Amitay Isaacs <amitay@gmail.com> | 2012-04-13 12:05:59 +1000 |
|---|---|---|
| committer | Amitay Isaacs <amitay@gmail.com> | 2012-04-13 12:06:59 +1000 |
| commit | 21194384968d6d4cb4a2f67e9f817d1df8e73060 (patch) | |
| tree | e41ff85312ca33a7b8f92918d4f3efc38112ae0e /ctdb | |
| parent | 7698a5105e0539f0bd1222f7787d2682aa2dcdf9 (diff) | |
| download | samba-21194384968d6d4cb4a2f67e9f817d1df8e73060.tar.gz samba-21194384968d6d4cb4a2f67e9f817d1df8e73060.tar.xz samba-21194384968d6d4cb4a2f67e9f817d1df8e73060.zip | |
tests/tool: Fix the nodestatus test
Although not obvious, when asking each node for nodestatus, it will report
each node is the current node.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 261258c1a4268230b2559bc5d8664b1197b22450)
Diffstat (limited to 'ctdb')
| -rwxr-xr-x | ctdb/tests/tool/testcases/stubby.nodestatus.004.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ctdb/tests/tool/testcases/stubby.nodestatus.004.sh b/ctdb/tests/tool/testcases/stubby.nodestatus.004.sh index 6f5193f643..0679f62aa6 100755 --- a/ctdb/tests/tool/testcases/stubby.nodestatus.004.sh +++ b/ctdb/tests/tool/testcases/stubby.nodestatus.004.sh @@ -4,8 +4,11 @@ define_test "-n all, 3 nodes, 1 disconnected" +# -n all asks each node for the node status and +# thus reports THIS NODE for each node + required_result 0 <<EOF -pnn:0 192.168.20.41 OK +pnn:0 192.168.20.41 OK (THIS NODE) pnn:2 192.168.20.43 OK (THIS NODE) EOF |
