Add a comment to specify why retries are being used at scenarios tests suite

This commit is contained in:
David Racero 2021-02-03 09:22:22 +00:00
parent f106502c72
commit 56e5efd47b

View File

@ -35,6 +35,7 @@ fs.readdirSync(scenarioFolder).forEach((file) => {
for (const story of scenario.stories) {
it(story.description, async function () {
// Retry the test scenarios up to 4 times if an error happens, due erratic HEVM network errors
this.retries(4);
await executeStory(story, testEnv);
});