commit 75b88c209e2b6e581407bcf234e0a5ed832001f8
parent 8b6f4c1ff0f93a72273e68a7fbd9e31b478142cc
Author: Florian Dold <florian.dold@gmail.com>
Date: Fri, 7 Aug 2020 12:18:17 +0530
linger only in normal shutdown
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git 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();