Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

[crowdsourcing] Forcing mock to shutdown in test cleanup #3889

Merged
merged 1 commit into from
Aug 2, 2021

Conversation

JackUrb
Copy link
Contributor

@JackUrb JackUrb commented Aug 2, 2021

Patch description
Adding a blocking forced shutdown for the Mephisto mock server to the cleanup of Mephisto-based testing. Attempts to ensure that the system doesn't hang indefinitely if a test fails and shutdown is unsuccessful.

Testing steps
Ran crowdsourcing tests locally 50 times. Ended up with a few failures, but none left pytest hanging.

@JackUrb JackUrb changed the title Forcing mock to shutdown in test cleanup [crowdsourcing] Forcing mock to shutdown in test cleanup Aug 2, 2021
Copy link
Contributor

@EricMichaelSmith EricMichaelSmith left a comment

Choose a reason for hiding this comment

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

Sounds good, great improvement! Failing tests are better than hanging tests...

@JackUrb JackUrb merged commit 9356b29 into master Aug 2, 2021
@JackUrb JackUrb deleted the crowdsourcing-cleanup-fix branch August 2, 2021 22:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants