diff --git a/testing/test_webapi-eca.coffee b/testing/test_webapi-eca.coffee index 9d34f3a..066b892 100644 --- a/testing/test_webapi-eca.coffee +++ b/testing/test_webapi-eca.coffee @@ -72,7 +72,7 @@ exports.testHttpPortAlreadyUsed = ( test ) => isRunning = false test.done() - setTimeout fWaitForDeath, 1000 + setTimeout fWaitForDeath, 12000 # Garbage collect eventually still running process fWaitForDeath = () => @@ -105,7 +105,7 @@ exports.testHttpPortInvalid = ( test ) -> test.done() # engine.kill() - setTimeout fWaitForDeath, 1000 + setTimeout fWaitForDeath, 12000 exports.testDbPortInvalid = ( test ) -> test.expect 1 @@ -127,4 +127,4 @@ exports.testDbPortInvalid = ( test ) -> test.ok false, '"testHttpPortInvalid" Engine didn\'t shut down!' test.done() - setTimeout fWaitForDeath, 1000 + setTimeout fWaitForDeath, 12000 diff --git a/unit_tests.sh b/unit_tests.sh index ced1baf..ffded78 100755 --- a/unit_tests.sh +++ b/unit_tests.sh @@ -6,7 +6,8 @@ var fs = require( 'fs' ), db = require( './js/persistence' ), args = process.argv.slice( 2 ), fEnd = function() { - console.log( 'Shutting down DB from unit_test.sh script...' ); + console.log( 'Shutting down DB from unit_test.sh script. ' + +'This might take as long as the event poller loop delay is...' ); db.shutDown(); };