diff --git a/tests/credentials.json.enc b/tests/credentials.json.enc index d0c5ac1..da53663 100644 Binary files a/tests/credentials.json.enc and b/tests/credentials.json.enc differ diff --git a/tests/src/test/scala/actionContainers/IBMPythonActionDB2Tests.scala b/tests/src/test/scala/actionContainers/IBMPythonActionDB2Tests.scala index 596c961..4dbd0a6 100644 --- a/tests/src/test/scala/actionContainers/IBMPythonActionDB2Tests.scala +++ b/tests/src/test/scala/actionContainers/IBMPythonActionDB2Tests.scala @@ -68,7 +68,7 @@ class IBMPythonActionDB2Tests extends TestHelpers with WskTestHelpers with Befor */ def sleepUntilContainerRunning() { - var counter = 48; // 48*5s=240s -> 4 minutes + var counter = 48; // 48*10s=480s -> 8 minutes var running = false; do { counter = counter - 1 @@ -87,9 +87,11 @@ class IBMPythonActionDB2Tests extends TestHelpers with WskTestHelpers with Befor ". /database/config/db2inst1/.bashrc && db2 list active databases") if ((isdb2Running.exitCode != 0) && (isdb2Running.exitCode != 2)) { - Thread.sleep(5000) + println("Wait some more time...") + Thread.sleep(10000) } else { running = true; + println("Database seems to be up, now.") } } while (counter > 0 && running == false); } @@ -99,6 +101,7 @@ class IBMPythonActionDB2Tests extends TestHelpers with WskTestHelpers with Befor TestUtils.runCmd(TestUtils.DONTCARE_EXIT, new File("."), "docker", "kill", db2containerName) TestUtils.runCmd(TestUtils.DONTCARE_EXIT, new File("."), "docker", "rm", db2containerName) + println("Creating local db2 instance, might take up to 5 minutes...") TestUtils.runCmd( 0, new File("."), @@ -119,7 +122,7 @@ class IBMPythonActionDB2Tests extends TestHelpers with WskTestHelpers with Befor "LICENSE=accept", "--name", db2containerName, - "ibmcom/db2") + "ibmcom/db2:11.5.5.1") sleepUntilContainerRunning() @@ -131,7 +134,7 @@ class IBMPythonActionDB2Tests extends TestHelpers with WskTestHelpers with Befor "cp", db2dir + "setup.sql", db2containerName + ":/database/config/db2inst1/setup.sql") - println("Creating db2 database, might take up to 5 minutes") + println("Creating db2 database, might take up to 5 minutes.") TestUtils.runCmd( 0, new File("."), pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy