Review comments.

This commit is contained in:
Jason Reed
2020-03-05 12:47:02 -05:00
parent 3a1219bb64
commit 87e563e24e

View File

@@ -29,7 +29,7 @@ async function runTestsWithRetry(suite: Suite, tries: number): Promise<void> {
} catch (err) {
console.error(`Exception raised while running tests: ${err}`);
if (t < tries - 1)
console.error('Retrying...');
console.log('Retrying...');
}
}
console.error(`Tried running suite ${tries} time(s), still failed, giving up.`);
@@ -67,10 +67,10 @@ async function main() {
];
for (const integrationTestSuite of integrationTestSuites) {
await runTestsWithRetry(integrationTestSuite, 2);
await runTestsWithRetry(integrationTestSuite, 3);
}
} catch (err) {
console.error('Unexpected exception while running tests');
console.error(`Unexpected exception while running tests: ${err}`);
process.exit(1);
}
}