Revision: e0062109498d
Author: Jean Deruelle <[email protected]>
Date: Thu Aug 30 06:57:04 2012
Log: fixing script for preparing UAC tests in HA testsuite
http://code.google.com/p/sipservlets/source/detail?r=e0062109498d
Modified:
/sip-servlets-test-suite/sipp-scenarios/clustering/auto-prepare-example.sh
=======================================
---
/sip-servlets-test-suite/sipp-scenarios/clustering/auto-prepare-example.sh
Sat Dec 18 15:17:10 2010
+++
/sip-servlets-test-suite/sipp-scenarios/clustering/auto-prepare-example.sh
Thu Aug 30 06:57:04 2012
@@ -73,7 +73,15 @@
;;
uac)
echo "Distributed example used is uas"
- mvn clean install $3 -f
$EXAMPLES_HOME/shootist-sip-servlet-distributable/pom.xml
+ mvn clean install $3 -Dsip.method=INVITE -f
$EXAMPLES_HOME/shootist-sip-servlet-distributable/pom.xml
+ rm -rf
$JBOSS_HOME/server/$config/deploy/shootist-sip-servlet-distributable-*.war
+ cp
$EXAMPLES_HOME/shootist-sip-servlet-distributable/target/shootist-sip-servlet-distributable-*.war
$JBOSS_HOME/server/$config/deploy
+ cp
$EXAMPLES_HOME/shootist-sip-servlet-distributable/distributable-shootist-dar.properties
$JBOSS_HOME/server/$config/conf/dars/mobicents-dar.properties
+ ;;
+ uac-register)
+ echo "Distributed example used is uac REGISTER"
+ mvn clean install $3 -Dsip.method=REGISTER -f
$EXAMPLES_HOME/shootist-sip-servlet-distributable/pom.xml
+ mvn clean install $3 -f
$EXAMPLES_HOME/shootist-sip-servlet-distributable/pom.xml
rm -rf
$JBOSS_HOME/server/$config/deploy/shootist-sip-servlet-distributable-*.war
cp
$EXAMPLES_HOME/shootist-sip-servlet-distributable/target/shootist-sip-servlet-distributable-*.war
$JBOSS_HOME/server/$config/deploy
cp
$EXAMPLES_HOME/shootist-sip-servlet-distributable/distributable-shootist-dar.properties
$JBOSS_HOME/server/$config/conf/dars/mobicents-dar.properties