This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Use file to synchronize TestDeepBundle and TestBundleWithDotInFilename
ClosedPublic

Authored by JDevlieghere on Aug 13 2020, 10:07 AM.

Details

Summary

Currently these two tests use an arbitrary wait of 5 seconds for the inferior to finish setting up. When the test machine is under heavy load this sometimes is insufficient leading to spurious test failures. This patch adds synchronization trough a token on the file system. In addition to making the test more reliable it also makes it much faster because we no longer have to wait the full 5 seconds if the setup was completed faster than that.

Diff Detail

Event Timeline

JDevlieghere requested review of this revision.Aug 13 2020, 10:07 AM
JDevlieghere created this revision.
teemperor accepted this revision.Aug 13 2020, 11:30 PM

This fills my heart with joy.

This revision is now accepted and ready to land.Aug 13 2020, 11:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 14 2020, 8:33 AM