aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-07 12:09:32 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-07 12:09:32 +0530
commita5d8d5349d4761873df3c5b36143dd04417d6f69 (patch)
treeb66a9502adafb5370ac04f502246ae156cef5e49 /packages
parent08ec98af77ac1bf900aa301603c8f667f9bb17b3 (diff)
actually only shut down once
Diffstat (limited to 'packages')
-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();