diff options
author | Florian Dold <florian@dold.me> | 2023-08-23 16:04:16 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-08-23 16:24:41 +0200 |
commit | 7fbe28e640d81f60b815ba123e30e97bc0747220 (patch) | |
tree | f728a0ef903d602ac9a2efc05318da394e496afd /packages/taler-harness/src/integrationtests | |
parent | ef5962cd3c78eb273acb87fec6002ba6c52dc5b3 (diff) | |
download | wallet-core-7fbe28e640d81f60b815ba123e30e97bc0747220.tar.xz |
harness: reusable test env
Diffstat (limited to 'packages/taler-harness/src/integrationtests')
-rw-r--r-- | packages/taler-harness/src/integrationtests/testrunner.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-harness/src/integrationtests/testrunner.ts b/packages/taler-harness/src/integrationtests/testrunner.ts index a9b6d1304..c1b06f21e 100644 --- a/packages/taler-harness/src/integrationtests/testrunner.ts +++ b/packages/taler-harness/src/integrationtests/testrunner.ts @@ -14,7 +14,7 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ -import { CancellationToken, Logger, minimatch } from "@gnu-taler/taler-util"; +import { CancellationToken, Logger, minimatch, setGlobalLogLevelFromString } from "@gnu-taler/taler-util"; import * as child_process from "child_process"; import * as fs from "fs"; import * as os from "os"; @@ -494,6 +494,8 @@ if (runTestInstrStr && process.argv.includes("__TWCLI_TESTWORKER")) { runTestInstrStr, ) as RunTestChildInstruction; + setGlobalLogLevelFromString("TRACE"); + process.on("disconnect", () => { logger.trace("got disconnect from parent"); process.exit(3); |