|
|
@ -240,7 +240,7 @@ function execute_tests {
|
|
|
|
# Try to connect to the OCI host via sqlplus to ensure that the connection is already running
|
|
|
|
# Try to connect to the OCI host via sqlplus to ensure that the connection is already running
|
|
|
|
for i in {1..48}
|
|
|
|
for i in {1..48}
|
|
|
|
do
|
|
|
|
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;
|
|
|
|
break;
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
sleep 5
|
|
|
|
sleep 5
|
|
|
|