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

flush dispatcher after node manipulation fixture #15769

Merged
merged 4 commits into from
Jan 28, 2025

Conversation

mjkkirschner
Copy link
Member

@mjkkirschner mjkkirschner commented Jan 21, 2025

follow up to:
#15768
that I want to test in isolation, this PR adds a one time tear down to the node manipulation test fixture that clears the dispatcher and somehow magically avoids the exception we were seeing from helix due to observable collection changes.

Copy link

UI Smoke Tests

Test: success. 11 passed, 0 failed.
TestComplete Test Result
Workflow Run: UI Smoke Tests
Check: UI Smoke Tests

@@ -132,10 +130,10 @@ protected virtual DynamoModel.IStartConfiguration CreateStartConfiguration(IPath
[TearDown]
public void Exit()
{

Dispatcher.CurrentDispatcher.Hooks.OperationPosted -= Hooks_OperationPosted;
Copy link
Contributor

Choose a reason for hiding this comment

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

can you try to the handler cleanup after DoEventsLoop ? or did you try and it broke everything ?

Copy link
Contributor

@pinzart90 pinzart90 left a comment

Choose a reason for hiding this comment

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

Maybe try to run it locally multiple times to make sure this change fixes the crash

@mjkkirschner
Copy link
Member Author

passed twice merging.

@mjkkirschner mjkkirschner merged commit 7a293ed into DynamoDS:master Jan 28, 2025
22 of 27 checks 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.

2 participants