diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-07 12:18:17 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-07 12:18:17 +0530 |
commit | 75b88c209e2b6e581407bcf234e0a5ed832001f8 (patch) | |
tree | 0b56a3f8d52bb57e9613ef941cb319920c25907e /packages/taler-integrationtests/src | |
parent | 8b6f4c1ff0f93a72273e68a7fbd9e31b478142cc (diff) | |
download | wallet-core-75b88c209e2b6e581407bcf234e0a5ed832001f8.tar.xz |
linger only in normal shutdown
Diffstat (limited to 'packages/taler-integrationtests/src')
-rw-r--r-- | packages/taler-integrationtests/src/harness.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-integrationtests/src/harness.ts b/packages/taler-integrationtests/src/harness.ts index 02bb81437..ea66ea35c 100644 --- a/packages/taler-integrationtests/src/harness.ts +++ b/packages/taler-integrationtests/src/harness.ts @@ -265,11 +265,6 @@ export class GlobalTestState { } private shutdownSync(): void { - if (shouldLingerAlways()) { - console.log("*** test finished, but requested to linger"); - console.log("*** test state can be found under", this.testDir); - return; - } for (const s of this.servers) { s.close(); s.removeAllListeners(); @@ -319,6 +314,11 @@ export class GlobalTestState { } this.inShutdown = true; console.log("shutting down"); + if (shouldLingerAlways()) { + console.log("*** test finished, but requested to linger"); + console.log("*** test state can be found under", this.testDir); + return; + } for (const s of this.servers) { s.close(); s.removeAllListeners(); |