diff --git a/test/test_netconf.sh b/test/test_netconf.sh index 12d55b5f..828464db 100755 --- a/test/test_netconf.sh +++ b/test/test_netconf.sh @@ -16,7 +16,7 @@ sudo clixon_backend -zf $cfg if [ $? -ne 0 ]; then err fi -new "start backend" +new "start backend -s init -f $cfg" # start new backend sudo clixon_backend -s init -f $cfg if [ $? -ne 0 ]; then diff --git a/test/test_perf.sh b/test/test_perf.sh index 580b2d16..483dace7 100755 --- a/test/test_perf.sh +++ b/test/test_perf.sh @@ -1,7 +1,7 @@ #!/bin/bash # Scaling test -number=1000 +number=5000 req=100 if [ $# = 0 ]; then number=1000 @@ -58,7 +58,6 @@ cat < $cfg EOF - # kill old backend (if any) new "kill old backend" sudo clixon_backend -zf $cfg -y $fyang @@ -100,7 +99,7 @@ expecteof "time -p $clixon_netconf -qf $cfg -y $fyang" "]]>]]>" "^]]>]]>$" -exit + new "netconf add one small config" expecteof "time -p $clixon_netconf -qf $cfg -y $fyang" "xy]]>]]>" "^]]>]]>$" diff --git a/test/test_restconf.sh b/test/test_restconf.sh index b63109d0..eccd4035 100755 --- a/test/test_restconf.sh +++ b/test/test_restconf.sh @@ -15,7 +15,7 @@ sudo clixon_backend -zf $cfg if [ $? -ne 0 ]; then err fi -new "start backend" +new "start backend -s init -f $cfg" sudo clixon_backend -s init -f $cfg if [ $? -ne 0 ]; then err diff --git a/test/test_startup.sh b/test/test_startup.sh index 1793b89c..93541b2a 100755 --- a/test/test_startup.sh +++ b/test/test_startup.sh @@ -84,8 +84,7 @@ EOF err fi - new "start backend" - # start new backend + new "start backend -f $cfg -s $mode -c /tmp/config" sudo clixon_backend -f $cfg -s $mode -c /tmp/config if [ $? -ne 0 ]; then err diff --git a/test/test_type.sh b/test/test_type.sh index 3c01e271..0c6afbef 100755 --- a/test/test_type.sh +++ b/test/test_type.sh @@ -69,8 +69,7 @@ sudo clixon_backend -zf $cfg if [ $? -ne 0 ]; then err fi -new "start backend" -# start new backend +new "start backend -s init -f $cfg -y $fyang" sudo clixon_backend -s init -f $cfg -y $fyang if [ $? -ne 0 ]; then err