Rev 38: added a 4 node test in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Mon Dec 18 05:05:22 GMT 2006


------------------------------------------------------------
revno: 38
revision-id: tridge at samba.org-20061218050522-oonnnsl7jreuwu2k
parent: tridge at samba.org-20061218050111-civn84tehqk1mi6n
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Mon 2006-12-18 16:05:22 +1100
message:
  added a 4 node test
added:
  tests/4nodes.txt               4nodes.txt-20061218050513-sfjylm5onz95575c-1
modified:
  tests/test.sh                  test.sh-20061128065333-cla80zaxd9eb4o4a-2
=== added file 'tests/4nodes.txt'
--- a/tests/4nodes.txt	1970-01-01 00:00:00 +0000
+++ b/tests/4nodes.txt	2006-12-18 05:05:22 +0000
@@ -0,0 +1,4 @@
+127.0.0.1:9001
+127.0.0.2:9001
+127.0.0.3:9001
+127.0.0.4:9001

=== modified file 'tests/test.sh'
--- a/tests/test.sh	2006-11-28 06:56:10 +0000
+++ b/tests/test.sh	2006-12-18 05:05:22 +0000
@@ -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



More information about the samba-cvs mailing list