From 75b88c209e2b6e581407bcf234e0a5ed832001f8 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 7 Aug 2020 12:18:17 +0530 Subject: linger only in normal shutdown --- packages/taler-integrationtests/src/harness.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages') 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(); -- cgit v1.2.3