Merge pull request #24538 from owncloud/fix-oracle-ci-stable9

[stable9] Wait a while even after successful connect ...
This commit is contained in:
Thomas Müller 2016-05-11 19:20:48 +02:00
commit de915934e6
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