condition
This commit is contained in:
parent
ee01e34a9a
commit
8b6f4c1ff0
@ -867,7 +867,10 @@ export interface MerchantInstanceConfig {
|
|||||||
* Check if the test should hang around after it failed.
|
* Check if the test should hang around after it failed.
|
||||||
*/
|
*/
|
||||||
function shouldLinger(): boolean {
|
function shouldLinger(): boolean {
|
||||||
return process.env["TALER_TEST_LINGER"] == "1";
|
return (
|
||||||
|
process.env["TALER_TEST_LINGER"] == "1" ||
|
||||||
|
process.env["TALER_TEST_LINGER_ALWAYS"] == "1"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -899,7 +902,9 @@ export function runTest(testMain: (gc: GlobalTestState) => Promise<void>) {
|
|||||||
let ret = 0;
|
let ret = 0;
|
||||||
try {
|
try {
|
||||||
gc = new GlobalTestState({
|
gc = new GlobalTestState({
|
||||||
testDir: fs.mkdtempSync(path.join(os.tmpdir(), "taler-integrationtest-")),
|
testDir: fs.mkdtempSync(
|
||||||
|
path.join(os.tmpdir(), "taler-integrationtest-"),
|
||||||
|
),
|
||||||
});
|
});
|
||||||
updateCurrentSymlink(gc.testDir);
|
updateCurrentSymlink(gc.testDir);
|
||||||
await testMain(gc);
|
await testMain(gc);
|
||||||
|
Loading…
Reference in New Issue
Block a user