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

Fix flaky cancel token request test #5079

Merged
merged 1 commit into from
Dec 7, 2023
Merged

Fix flaky cancel token request test #5079

merged 1 commit into from
Dec 7, 2023

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Dec 7, 2023

See #5071 (comment)

Comments inline.

expect(clearTimeoutSpy).to.be.calledOnce
expect(mockUriHandlerDispose).to.be.calledOnce
expect(clearTimeoutSpy).to.be.called
expect(mockUriHandlerDispose).to.be.called
Copy link
Member Author

Choose a reason for hiding this comment

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

[F] I suspect these are running into another test or event listener as they are being called multiple times (sometimes)

@mattseddon mattseddon marked this pull request as ready for review December 7, 2023 02:25
Copy link

codeclimate bot commented Dec 7, 2023

Code Climate has analyzed commit b1917d9 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.2% (0.0% change).

View more on Code Climate.

Copy link
Contributor

@julieg18 julieg18 left a comment

Choose a reason for hiding this comment

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

Looks good!

@julieg18 julieg18 merged commit e4113db into main Dec 7, 2023
8 checks passed
@julieg18 julieg18 deleted the fix-test branch December 7, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants