always terminate properly
This commit is contained in:
parent
59fe51806d
commit
ac438906e9
@ -876,8 +876,8 @@ export function runTest(testMain: (gc: GlobalTestState) => Promise<void>) {
|
||||
try {
|
||||
await testMain(gc);
|
||||
} finally {
|
||||
await gc.terminate();
|
||||
if (process.env["TALER_TEST_KEEP"] !== "1") {
|
||||
await gc.terminate();
|
||||
console.log("test logs and config can be found under", gc.testDir);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user