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

Cleanup Testing & Retry logic #3477

Merged
merged 15 commits into from
Sep 8, 2024
Merged

Conversation

lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Sep 7, 2024

  • Consolidate all Scala-level tries into one mill.api.Retry helper, add some minimal unit tests, and use it throughout Mill
  • Swap out lambdatest for junit so we can use the standard JUnit retry facilities on FileToStreamTailerTest (nothing built in, but googling brings up lots of examples to copy-paste)
  • Remove os.temp.dir from Integration tester workspacePath and replace it with a shorter run-$i folder that serves the same purpose
  • Try to be more aggressive at cleaning up prior out/ folder to force the processes to terminate

@lihaoyi lihaoyi changed the title See if the temp folder for integration tests is still necessry See if the temp folder for integration tests is still necessary Sep 7, 2024
@lihaoyi lihaoyi changed the title See if the temp folder for integration tests is still necessary Cleanup Testing & Retry logic Sep 8, 2024
@lihaoyi lihaoyi marked this pull request as ready for review September 8, 2024 04:42
@lihaoyi lihaoyi merged commit 922d4ef into com-lihaoyi:main Sep 8, 2024
25 checks passed
@lihaoyi lihaoyi added this to the 0.12.0-RC1 milestone Sep 8, 2024
@lihaoyi lihaoyi mentioned this pull request Sep 8, 2024
lihaoyi added a commit that referenced this pull request Sep 8, 2024
This should pull in #3477 and
help resolve the flakiness we are still seeing at during the compilation
of Mill, as the fixes in master were not yet taking effect yet
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.

1 participant