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

Avoid needless shrinking and refactor fragile STM tests #499

Merged
merged 11 commits into from
Dec 20, 2024

Conversation

jmid
Copy link
Collaborator

@jmid jmid commented Dec 20, 2024

Fixes #498

This PR

  • removes needless reruns during shrinking in Weak and Weak Hashset STM tests, as these can cause excessive shrinking runs
  • refactors STM tests for Weak, Weak Hashset, and Ephemeron (all 3 fragile wrt. GC state) into specifications and separate executable test files, allowing each to start off from a fresh heap

@jmid
Copy link
Collaborator Author

jmid commented Dec 20, 2024

CI summary: all 33 workflows green

@jmid jmid merged commit c13ea8c into main Dec 20, 2024
33 checks passed
@jmid jmid deleted the avoid-needless-shrinking branch December 20, 2024 14:44
@jmid
Copy link
Collaborator Author

jmid commented Dec 20, 2024

CI summary for merge to main: all 34 workflows passed

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.

Excessive shrinking times in STM Weak test parallel
1 participant