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
sleep 10
#Start listening for notifications
- ${LBNOTIFY} receive -i 1 ${notifid} > $$_notifications.txt &
+ ${LBNOTIFY} receive -i 5 ${notifid} > $$_notifications.txt &
recpid=$!
sleep 10
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"