OSDN Git Service

bug fix
author6638678 <6638678@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Thu, 4 Nov 2010 05:17:29 +0000 (05:17 +0000)
committer6638678 <6638678@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Thu, 4 Nov 2010 05:17:29 +0000 (05:17 +0000)
git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-ramiel-epoll-cond@10418 1ed66053-1c2d-0410-8867-f7571e6e31d3

test/script/virtualservice/virtualservice-36.sh
test/script/virtualservice/virtualservice-40.sh

index 5b3243e..d5b1cd2 100755 (executable)
@@ -27,7 +27,7 @@ fi
 
 test_client2 -p 40001 > $tmp_file &
 
-sleep 1
+sleep 5
 
 $L7VSADM -a -t 127.0.0.1:40001 -m sessionless -r 127.0.0.1:30000
 if [ $? -ne 0 ]; then
@@ -36,7 +36,7 @@ if [ $? -ne 0 ]; then
         exit 1
 fi
 
-sleep 1
+sleep 5
 
 # sorry server connection must be left
 ps aux | grep "test_client2" | grep -v grep > /dev/null 2>&1
index be8990c..c252595 100755 (executable)
@@ -39,7 +39,7 @@ fi
 
 test_client2 -p 40001 > $tmp_file &
 
-sleep 1
+sleep 5
 
 $L7VSADM -e -t 127.0.0.1:40001 -m sessionless -r 127.0.0.1:30000 -w 1
 if [ $? -ne 0 ]; then
@@ -54,6 +54,7 @@ if [ $? -ne 0 ]; then
         exit 1
 fi
 
+
 # sorry server connection must be left
 ps aux | grep "test_client2" | grep -v grep > /dev/null 2>&1
 if [ $? -ne 0 ]; then
@@ -62,7 +63,9 @@ if [ $? -ne 0 ]; then
        exit 1
 fi
 
-sleep 5
+sleep 15
+
+cat $tmp_file
 
 diff $tmp_file ./materials/virtualservice-40-response.txt > /dev/null 2>&1
 if [ $? -ne 0 ]; then