( )⚙ D10244 tests: ask any chg instance to terminate before looking at sqlite dbs

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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.