Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-07-16 10:49:23 +0300
committerMorris Jobke <hey@morrisjobke.de>2015-07-16 12:51:15 +0300
commita6daafa3cdaf4c01f88a890004cc63bdecff99fc (patch)
treedf89837a57664a5cb4225cb525190731b4ce3ba5 /autotest.sh
parentdce462c28db1d5e5b144efcfb26a466bd290621c (diff)
[autotest] timeout oracle docker startup after 2 minutes
Diffstat (limited to 'autotest.sh')
-rwxr-xr-xautotest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autotest.sh b/autotest.sh
index 960f03ec1f6..e9327c8f83e 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -167,8 +167,8 @@ function execute_tests {
echo "Waiting for Oracle initialization ... "
- # grep exits on the first match and then the script continues
- docker logs -f "$DOCKER_CONTAINER_ID" 2>&1 | grep -q "Grant succeeded."
+ # grep exits on the first match and then the script continues - times out after 2 minutes
+ timeout 120 docker logs -f "$DOCKER_CONTAINER_ID" 2>&1 | grep -q "Grant succeeded."
DATABASEUSER=autotest
DATABASENAME='XE'