-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(test): fixes testing race when calling Session._action_updated_…
…impl (#454) Summary: Unit tests that call Session._action_updated_impl() were randomly failing because that function does some work in a Future, and the tests were not waiting for the future to complete before checking results. The future would usually complete quickly, but when it doesn't then the tests would fail. Fix the tests by exposing the inner future and waiting on it during the tests. Signed-off-by: Daniel Neilson <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters