D8103: test: simplify test-amend.t to avoid race condition

2020-02-10 Thread marmoute (Pierre-Yves David)
Closed by commit rHG5f55b5c35630: test: simplify test-amend.t to avoid race condition (authored by marmoute). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D8103?vs=20036&id=20075 C

D8103: test: simplify test-amend.t to avoid race condition

2020-02-10 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Insted on relying on sleep, we could simply have the editor do the file change. This remove the reliance on "sleep" and avoid test failing on heavy load machin