Wait a while even after successful conect ...

This commit is contained in:
Thomas Müller 2016-05-06 17:05:34 +02:00
parent 09c507246d
commit e2d8a4544d
No known key found for this signature in database
GPG Key ID: A943788A3BBEC44C
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ function execute_tests {
# Try to connect to the OCI host via sqlplus to ensure that the connection is already running
for i in {1..48}
do
if sqlplus "system/oracle@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=$DATABASEHOST)(Port=1521))(CONNECT_DATA=(SID=XE)))" < /dev/null | grep 'Connected to'; then
if sqlplus "autotest/owncloud@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=$DATABASEHOST)(Port=1521))(CONNECT_DATA=(SID=XE)))" < /dev/null | grep 'Connected to'; then
break;
fi
sleep 5