This is aiming to workaround this issue:
When test is decorated with expectedFlakey* and has teardown hook attached, the teardown hook will be added and executed twice,
the second execution will fail due to "missing file".
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I agree that we should call a tear-down after each run of the test case because without it the 2 run might effect each other. Also the same is true for calling set-up before each run.
Comment Actions
Based on feedback, handle teardown and setup inside of expectedFlakey function.
Don't run retry if the test case is already marked as xfail or skip.