summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-integrationtests/src/harness.ts10
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();