This is an archive of the discontinued Mercurial Phabricator instance.

automation: shore up rebooting behavior
ClosedPublic

Authored by indygreg on Apr 19 2019, 10:41 AM.

Details

Summary

There was a race condition in the old code. Use
instance.stop()/instance.start() to eliminate it.

As part of debugging this, I also found another race condition
related to PowerShell permissions after the reboot. Unfortunately,
I'm not sure the best way to work around it. I've added a comment
for now.

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

indygreg created this revision.Apr 19 2019, 10:41 AM
This revision was automatically updated to reflect the committed changes.