balancer / balancer-deployments

GNU General Public License v3.0
41 stars 33 forks source link

Retry fork tests in CI. #102

Closed jubeira closed 9 months ago

jubeira commented 9 months ago

Description

Retry a few times if the tests fail in CI, with a delay in between each attempt. Hopefully should improve CI success rates, which are pretty bad lately.

Type of change

Checklist:

Issue Resolution

N/A

jubeira commented 9 months ago

This kinda works, but if the test fails in the before hook there's not much we can do.

See https://github.com/mochajs/mocha/issues/4006 and https://github.com/mochajs/mocha/issues/4658.