[Lldb-commits] [PATCH] D18912: sleep and retry on failure to delete temp file in tests
Adrian McCarthy via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 8 15:13:55 PDT 2016
amccarth created this revision.
amccarth added a reviewer: zturner.
amccarth added a subscriber: lldb-commits.
This solves a flaky test on Windows.
We have similar logic elsewhere for log files. I considered trying to combine them, but since they are methods of different objects, there wasn't really a clean approach.
@@ -1996,4 +1996,10 @@
def RemoveTempFile(cls, file):
+ # On Windows, we can sometimes need a retry because antimalware may
+ # briefly hold the file open.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 622 bytes
Desc: not available
More information about the lldb-commits