Revision: 15863
Author: [email protected]
Date: Sat Dec 18 13:13:58 2010
Log: [No log message]
http://code.google.com/p/mobicents/source/detail?r=15863

Modified:
/trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/auto-clustering-failover-test.sh

=======================================
--- /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/auto-clustering-failover-test.sh Sat Dec 18 06:01:53 2010 +++ /trunk/servers/sip-servlets/sip-servlets-test-suite/sipp-scenarios/clustering/auto-clustering-failover-test.sh Sat Dec 18 13:13:58 2010
@@ -358,32 +358,6 @@
 cat result.txt
 ls

-#Kill the app servers
-./auto-kill-process-tree.sh `cat $config1.pid` $config1
-./auto-kill-process-tree.sh `cat $config2.pid` $config2
-
-sleep 10
-
-##################################
-# Test UAC
-##################################
-echo "Test UAC"
-echo "================================"
-./auto-prepare-example.sh uac $config1 -Dsend.on.init=true
-./auto-prepare-example.sh uac $config2 -Dsend.on.init=false
-
-./auto-start-jboss-server.sh $config2 $config2.pid 1 uac
-
-#Wait to boot
-sleep $HALFSTARTSLEEP
-
-./auto-start-jboss-server.sh $config1 $config1.pid 0 uac
-
-# SIPp should be running by the time JBoss finishes the startup, hence we use half start time here.
-
-sleep 50
-./auto-run-test.sh uac result.txt
-
 #Kill the app servers
 ./auto-kill-process-tree.sh `cat $config1.pid` $config1
 ./auto-kill-process-tree.sh `cat $config2.pid` $config2
@@ -493,6 +467,34 @@
 sleep 10


+##################################
+# Test UAC (should always be the last test or it may messed up the other tests)
+##################################
+echo "Test UAC"
+echo "================================"
+./auto-prepare-example.sh uac $config1 -Dsend.on.init=true
+./auto-prepare-example.sh uac $config2 -Dsend.on.init=false
+
+./auto-start-jboss-server.sh $config2 $config2.pid 1 uac
+
+#Wait to boot
+sleep $HALFSTARTSLEEP
+
+./auto-start-jboss-server.sh $config1 $config1.pid 0 uac
+
+# SIPp should be running by the time JBoss finishes the startup, hence we use half start time here.
+
+sleep 50
+./auto-run-test.sh uac result.txt
+
+#Kill the app servers
+./auto-kill-process-tree.sh `cat $config1.pid` $config1
+./auto-kill-process-tree.sh `cat $config2.pid` $config2
+
+sleep 10
+
+
+
 ##################################
 # Cleanup
 ##################################

Reply via email to