commit a5d8d5349d4761873df3c5b36143dd04417d6f69
parent 08ec98af77ac1bf900aa301603c8f667f9bb17b3
Author: Florian Dold <florian.dold@gmail.com>
Date: Fri, 7 Aug 2020 12:09:32 +0530
actually only shut down once
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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();