-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
Use Case
In the change streams tests there are two defer hooks that are given a promise rather than a function. There are unhandled rejections that flakily appear from these + the defer call has no effect.
User Experience
- What is the desired/expected outcome for the user once this ticket is implemented?
- If bug: What is the number of impacted customers? How severe is the impact? Is anyone blocked or broken?
Dependencies
- The unhandled rejection PR will be greener with this change
Risks/Unknowns
- None
Acceptance Criteria
Implementation Requirements
- fix the incorrect defer usages
- migrate defer to async/await to get correct stack traces if errors arise again
Testing Requirements
- Tests all pass
Documentation Requirements
- None
Follow Up Requirements
- None