[autotest] timeout oracle docker startup after 2 minutes

This commit is contained in:
Morris Jobke 2015-07-16 09:49:23 +02:00
parent dce462c28d
commit a6daafa3cd
1 changed files with 2 additions and 2 deletions

View File

@ -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'