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

Parallel fixes #6156

Merged
merged 4 commits into from
Nov 21, 2019
Merged

Parallel fixes #6156

merged 4 commits into from
Nov 21, 2019

Conversation

joshmoore
Copy link
Member

These changes are intended to reduce the number of spurious errors and warnings that occur when running the python tests with pytest-xdist (e.g. -n16). The most common issue seen so far is that a test assumes the state in the database is not changed by any other thread.

@joshmoore
Copy link
Member Author

Note: this PR is ready to go as is, but one shouldn't assume that parallel integration tests are currently safe.

Copy link
Member

@sbesson sbesson left a comment

Choose a reason for hiding this comment

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

This PR has been included for many days and tests have been reliably green with it included - see https://py3-ci.openmicroscopy.org/jenkins/job/OMERO-test-integration/61/testReport/ and https://merge-ci.openmicroscopy.org/jenkins/job/OMERO-test-integration/242/testReport/ as examples.

Reviewed changes inline and most of them still maintain preserve the coverage of the tests while reducing assumptions on single-threaded test running against the server.

As this starts to conflict with other PRs, merging immediately as a first step towards Python integration test parallelization.

@sbesson sbesson merged commit 96c89b2 into ome:develop Nov 21, 2019
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.

2 participants