samba-cvs.cvs
[Top] [All Lists]

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

Subject: Rev 38: added a 4 node test in http://samba.org/~tridge/ctdb
From:
Date: Mon, 18 Dec 2006 16:05:22 +1100
------------------------------------------------------------
revno: 38
revision-id: tridge@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
parent: tridge@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
committer: Andrew Tridgell <tridge@xxxxxxxxx>
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

<Prev in Thread] Current Thread [Next in Thread>
  • Rev 38: added a 4 node test in http://samba.org/~tridge/ctdb, tridge <=