Minor parameter adjustments based on feedback.
authorZdeněk Šustr <sustr4@cesnet.cz>
Mon, 16 Mar 2009 13:34:55 +0000 (13:34 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Mon, 16 Mar 2009 13:34:55 +0000 (13:34 +0000)
org.glite.testsuites.ctb/LB/tests/lb-common.sh
org.glite.testsuites.ctb/LB/tests/lb-test-notif-recovery.sh
org.glite.testsuites.ctb/LB/tests/lb-test-notif.sh

index e89b6ff..04b549d 100755 (executable)
@@ -179,7 +179,7 @@ function check_socket_listener()
                 return $TEST_ERROR
         fi
 
-       pid=`lsof -F p $req_socket | sed "s/^p//"`
+       pid=`lsof -F p $req_socket | sed "s/^p//" | head -n 1`
        if [ -z $pid ]; then
                return $TEST_ERROR
        fi
index e122dfc..6477be5 100755 (executable)
@@ -134,7 +134,7 @@ else
                        sleep 10
 
                        #Start listening for notifications
-                       ${LBNOTIFY} receive -i 1 ${notifid} > $$_notifications.txt &
+                       ${LBNOTIFY} receive -i 5 ${notifid} > $$_notifications.txt &
                        recpid=$!
 
                        sleep 10
index e847ccc..dad79a8 100755 (executable)
@@ -129,7 +129,7 @@ else
                        test_done
 
                        #Start listening for notifications
-                       ${LBNOTIFY} receive -i 1 ${notifid} > $$_notifications.txt &
+                       ${LBNOTIFY} receive -i 5 ${notifid} > $$_notifications.txt &
                        recpid=$!
 
                        printf "Logging events resulting in DONE state\n"