summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-integrationtests/src/harness.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-integrationtests/src/harness.ts b/packages/taler-integrationtests/src/harness.ts
index 9e1faf5cd..20b8a9941 100644
--- a/packages/taler-integrationtests/src/harness.ts
+++ b/packages/taler-integrationtests/src/harness.ts
@@ -220,7 +220,7 @@ export class GlobalTestState {
testDir: string;
procs: ProcessWrapper[];
servers: http.Server[];
- inShutdown: false;
+ inShutdown: boolean = false;
constructor(params: GlobalTestParams) {
this.testDir = params.testDir;
this.procs = [];
@@ -312,6 +312,7 @@ export class GlobalTestState {
if (this.inShutdown) {
return;
}
+ this.inShutdown = true;
console.log("shutting down");
for (const s of this.servers) {
s.close();