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 database reentrancy issue during parallel testing #1683

Merged
merged 2 commits into from
Sep 3, 2020

Conversation

FUDCo
Copy link
Contributor

@FUDCo FUDCo commented Sep 3, 2020

Ava's parallel test execution was causing some of the swingset-runner tests to intermittently step on each other's database state, resulting in test flakiness. Tests now run with each using its own temporary database file.

To achieve this swingset-runner has acquired a command line option to let you put the database someplace other than the default location for the swingset, which might be useful in other circumstances too.

@FUDCo FUDCo added bug Something isn't working swingset-runner package: swingset-runner test labels Sep 3, 2020
@FUDCo FUDCo requested review from warner and michaelfig September 3, 2020 07:23
@FUDCo
Copy link
Contributor Author

FUDCo commented Sep 3, 2020

Fixes #1679

@FUDCo FUDCo force-pushed the fix-swingset-runner-test-reentrancy-problem branch from eb2028d to 82bb33e Compare September 3, 2020 08:15
Copy link
Member

@michaelfig michaelfig left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for fixing this.

@FUDCo FUDCo merged commit 32347da into master Sep 3, 2020
@FUDCo FUDCo deleted the fix-swingset-runner-test-reentrancy-problem branch September 3, 2020 17:16
@FUDCo FUDCo mentioned this pull request Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working swingset-runner package: swingset-runner test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants