Skip to content

Conversation

savpek
Copy link
Contributor

@savpek savpek commented Apr 3, 2020

Refactoring for tests, there were multiple ways to wait for events on tests and task delay on some locations that can be handled by waiting certain event from omnisharp.

Refactored different event solutions as one which is injected as default to test host and can be used everywhere to wait and assert events.

@SirIntruder
Copy link
Contributor

Sounds rad! Could this maybe fix UpdateBuffer_TransientDocumentsDisappearWhenProjectAddsThem - it has a smelly time delay because test needed to wait for OmniSharpWorkspace.WorkspaceChanged event to apply. Is there something in the system that could be used instead?

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