This is an archive of the discontinued Mercurial Phabricator instance.

tests: ask any chg instance to terminate before looking at sqlite dbs
ClosedPublic

Authored by joerg.sonnenberger on Mar 19 2021, 10:09 PM.

Details

Summary

There are spurious errors in CI where the database is still locked, so
force the daemon to quit to get deterministic behavior. Since the kill
command itself is racy, also sleep 2s to give the server time to wake up
and exit.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.