Ver código fonte

[autotest] timeout oracle docker startup after 2 minutes

tags/v8.2beta1
Morris Jobke 9 anos atrás
pai
commit
a6daafa3cd
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      autotest.sh

+ 2
- 2
autotest.sh Ver arquivo

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

Carregando…
Cancelar
Salvar