Make flaky tests reliable using failure history.
Recent revisions are kept. Restoring one creates a new revision.