Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skyline: Cleanup persistent folder before and after test runs #3266

Merged
merged 4 commits into from
Dec 7, 2024

Conversation

brendanx67
Copy link
Contributor

  • Helps avoid the case where a prior failure causes an echo failure in the next run because cleanup deletes left over files in the persistent folder

- Helps avoid the case where a prior failure causes an echo failure in the next run because cleanup deletes left over files in the persistent folder
@brendanx67 brendanx67 requested review from chambm and bspratt December 6, 2024 04:55
Copy link
Member

@chambm chambm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's great to make it more robust to failures. There are probably more tests that need CleanupPersistentDir() overloads added though, right? (Do you want me to take that on?)

@brendanx67
Copy link
Contributor Author

brendanx67 commented Dec 6, 2024 via email

@@ -1991,6 +1991,8 @@ private void runMode_SelectedIndexChanged(object sender, EventArgs e)
{
runLoops.Checked = true;
runLoopsCount.Text = 1.ToString();
Offscreen.Checked = false; // Can't do screenshots offscreen
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't appear to be re-enabled when the control is switched back to Test

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably want a behavior more like what you get when parallel mode is turned on/off

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I think I fixed the potential inconsistencies the code was allowing before.

@brendanx67 brendanx67 merged commit 740245c into master Dec 7, 2024
13 checks passed
@brendanx67 brendanx67 deleted the Skyline/work/20241205_cleanup_persistent_cleanup branch December 7, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants