diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-07 12:09:32 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-07 12:09:32 +0530 |
commit | a5d8d5349d4761873df3c5b36143dd04417d6f69 (patch) | |
tree | b66a9502adafb5370ac04f502246ae156cef5e49 /packages | |
parent | 08ec98af77ac1bf900aa301603c8f667f9bb17b3 (diff) |
actually only shut down once
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-integrationtests/src/harness.ts | 3 |
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(); |