From: Andrew Tridgell Date: Mon, 18 Dec 2006 05:05:22 +0000 (+1100) Subject: added a 4 node test X-Git-Tag: tevent-0.9.20~348^2~2993 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f44ccb569a38a5e5165af1824f2a2077f8d3c57;p=thirdparty%2Fsamba.git added a 4 node test (This used to be ctdb commit 982468d0770684ec18cf95e3f254250debf4fd4c) --- diff --git a/ctdb/tests/4nodes.txt b/ctdb/tests/4nodes.txt new file mode 100644 index 00000000000..880fe914ffc --- /dev/null +++ b/ctdb/tests/4nodes.txt @@ -0,0 +1,4 @@ +127.0.0.1:9001 +127.0.0.2:9001 +127.0.0.3:9001 +127.0.0.4:9001 diff --git a/ctdb/tests/test.sh b/ctdb/tests/test.sh index 0aa93fbdbdb..144e92a66c1 100755 --- a/ctdb/tests/test.sh +++ b/ctdb/tests/test.sh @@ -2,8 +2,17 @@ killall -q ctdb_test +echo "Trying 2 nodes" bin/ctdb_test --nlist nodes.txt --listen 127.0.0.1:9001 & bin/ctdb_test --nlist nodes.txt --listen 127.0.0.2:9001 & sleep 3 killall ctdb_test + +echo "Trying 4 nodes" +bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.1:9001 & +bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.2:9001 & +bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.3:9001 & +bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.4:9001 & +sleep 3 +killall ctdb_test