Переглянути джерело

- don't disable retransmits for tests, better fail after some time

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3470 689a6050-402a-0410-94f2-e92a70836424
Henning Westerholt 17 роки тому
батько
коміт
7fe3958e6d
3 змінених файлів з 4 додано та 5 видалено
  1. 2 2
      test/unit/19.sh
  2. 2 2
      test/unit/20.sh
  3. 0 1
      test/unit/21.sh

+ 2 - 2
test/unit/19.sh

@@ -34,8 +34,8 @@ fi ;
 mysql --show-warnings -B -u openser --password=openserrw -D openser -e "INSERT INTO location (username,contact,socket,user_agent,cseq,q) VALUES (\"foo\",\"sip:foo@localhost\",\"udp:127.0.0.1:5060\",\"ser_test\",1,-1);"
 
 ../openser -f $CFG &> /dev/null
-sipp -sn uas -bg -i localhost -m 10 -f 2 -p 5060 -nr &> /dev/null
-sipp -sn uac -s foo 127.0.0.1:5059 -i 127.0.0.1 -m 10 -f 2 -p 5061 -nr &> /dev/null
+sipp -sn uas -bg -i localhost -m 10 -f 2 -p 5060 &> /dev/null
+sipp -sn uac -s foo 127.0.0.1:5059 -i 127.0.0.1 -m 10 -f 2 -p 5061 &> /dev/null
 
 ret=$?
 

+ 2 - 2
test/unit/20.sh

@@ -40,11 +40,11 @@ fi;
 # add an registrar entry to the db;
 mysql --show-warnings -B -u openser --password=openserrw -D openser -e "INSERT INTO location (username,contact,socket,user_agent,cseq,q) VALUES (\"foo\",\"sip:foo@localhost\",\"udp:127.0.0.1:5060\",\"ser_test\",1,-1);"
 
-sipp -sn uas -bg -i localhost -m 1 -f 10 -p 5060 -nr &> /dev/null
+sipp -sn uas -bg -i localhost -m 1 -f 10 -p 5060 &> /dev/null
 
 ../openser -f $CFG &> $TMPFILE
 
-sipp -sn uac -s foo 127.0.0.1:5059 -i 127.0.0.1 -m 1 -f 10 -p 5061 -nr &> /dev/null
+sipp -sn uac -s foo 127.0.0.1:5059 -i 127.0.0.1 -m 1 -f 10 -p 5061 &> /dev/null
 
 egrep '^ACC:[[:space:]]+transaction[[:space:]]+answered:[[:print:]]*code=200;reason=OK$' $TMPFILE > /dev/null
 ret=$?

+ 0 - 1
test/unit/21.sh

@@ -42,7 +42,6 @@ fi;
 mysql --show-warnings -B -u openser --password=openserrw -D openser -e "INSERT INTO subscriber (username, domain, password, email_address) VALUES (\"alice\",\"localhost\",\"alice\",\"alice@localhost\");"
 
 ../openser -f $CFG &> /dev/null;
-##sleep 5;
 sipp -s alice 127.0.0.1:5059 -i 127.0.0.1 -m 1 -f 1 -auth_uri alice@localhost -p 5061 -sf auth_test.xml -ap alice &> /dev/null;
 
 ret=$?