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

Fix race condition in executor test #138

Merged
merged 1 commit into from
Sep 8, 2021
Merged

Fix race condition in executor test #138

merged 1 commit into from
Sep 8, 2021

Conversation

Shillaker
Copy link
Collaborator

@Shillaker Shillaker commented Sep 8, 2021

This has been hanging around for a while and periodically failing.

@Shillaker Shillaker self-assigned this Sep 8, 2021
@@ -106,6 +106,8 @@ class TestExecutor final : public Executor
nThreads = std::stoi(msg.inputdata());
}

SPDLOG_DEBUG("TestExecutor spawning {} threads", nThreads);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This test was really hard to debug without this logging, which may prove useful to someone in future.

@Shillaker Shillaker merged commit ca9a5c3 into master Sep 8, 2021
@Shillaker Shillaker deleted the test-fix branch September 8, 2021 14:04
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