( )⚙ D11250 testing: make sure write_file is "atomic"

This is an archive of the discontinued Mercurial Phabricator instance.

testing: make sure write_file is "atomic"
ClosedPublic

Authored by marmoute on Aug 3 2021, 1:52 PM.

Details

Summary

This make sure viewer cannot see the new file with partial content.

This was likely the cause of some flakiness in test-nointerrupt.t

Diff Detail

Repository
rHG Mercurial
Branch
stable
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Aug 3 2021, 1:52 PM

This does not seems to be all of the issue we have with nointerrupt.t … https://foss.heptapod.net/octobus/mercurial-devel/-/jobs/233269

Alphare accepted this revision.Aug 4 2021, 3:06 PM
This revision is now accepted and ready to land.Aug 4 2021, 3:06 PM
This revision was automatically updated to reflect the committed changes.