Try to fix occassional fails.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 5 Feb 2013 11:23:14 +0000 (11:23 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Thu, 7 Feb 2013 14:03:36 +0000 (15:03 +0100)
org.glite.testsuites.ctb/CANL-C/tests/canl-test-cs-openssl.sh

index 3488e6b..a19e503 100755 (executable)
@@ -146,6 +146,8 @@ fi
 cat $pipe_srv | ${OPENSSL} s_server -key /etc/grid-security/hostkey.pem \
 -cert /etc/grid-security/hostcert.pem -quiet -accept "${nu_port}" &
 last_pid=$!
+# give it a time to start before checks
+sleep 1
 lp_running=`${SYS_PS} | ${SYS_GREP} -E "${last_pid}" 2> /dev/null`
 if [ -n "$lp_running" ]; then
        test_done