Wait a while even after successful conect ...

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

View File

@ -239,7 +239,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