You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve performance and stability of unit tests which make use of the EventHub by adding a synchronous call to EventHub.shared.start() to allow test cases ensure the EventHub has started before running tests.
The Edge extension's EdgePublicAPITests were failing because calls to registerEventListener were failing presumably because the EventHub wasn't fully started. Adding a sleep() call after calling start() resolves the issue, but getting a signal from the EventHub when start() completes is a better option. Searching the repos shows several extensions call EventHub.shared.start() from unit tests, though I'm not aware of over test failures.
Additional implementation details or code snippet(s)
No response
The text was updated successfully, but these errors were encountered:
kevinlind
added
the
task
Item that can be completed as a standalone code change or is part of an epic.Used by issue templates
label
Jul 18, 2023
Task description
Improve performance and stability of unit tests which make use of the EventHub by adding a synchronous call to
EventHub.shared.start()
to allow test cases ensure the EventHub has started before running tests.The Edge extension's EdgePublicAPITests were failing because calls to
registerEventListener
were failing presumably because the EventHub wasn't fully started. Adding a sleep() call after calling start() resolves the issue, but getting a signal from the EventHub when start() completes is a better option. Searching the repos shows several extensions call EventHub.shared.start() from unit tests, though I'm not aware of over test failures.Additional implementation details or code snippet(s)
No response
The text was updated successfully, but these errors were encountered: