aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-06 17:32:52 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-06 17:32:52 +0530
commitac438906e9531019a8c94274ffa2450201252850 (patch)
treeb9e8ef3871fe331e3454c87849b8aba851e74fc7
parent59fe51806df627dcb9c0499a0c22421032f7a542 (diff)
always terminate properly
-rw-r--r--packages/taler-integrationtests/src/harness.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-integrationtests/src/harness.ts b/packages/taler-integrationtests/src/harness.ts
index a96e68ba0..2fa349d8e 100644
--- a/packages/taler-integrationtests/src/harness.ts
+++ b/packages/taler-integrationtests/src/harness.ts
@@ -876,8 +876,8 @@ export function runTest(testMain: (gc: GlobalTestState) => Promise<void>) {
try {
await testMain(gc);
} finally {
+ await gc.terminate();
if (process.env["TALER_TEST_KEEP"] !== "1") {
- await gc.terminate();
console.log("test logs and config can be found under", gc.testDir);
}
}