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

Further delay calling cancel after uploading flare #2124

Merged
merged 2 commits into from
Feb 26, 2025

Conversation

RebeccaMahany
Copy link
Contributor

At least a couple times now, the automated tests have failed when testing flares with running subcommand flare: reading upload response: context canceled.

I think this is due to the changes I made in #2093. The tests don't show an actual timeout -- besides, only 2 seconds elapse, while the timeout is 2 minutes -- so I think that sometimes cancel is executing before the Close function has the opportunity to read the response body.

@RebeccaMahany RebeccaMahany added the bug-fixes Bug Fixes label Feb 26, 2025
@RebeccaMahany RebeccaMahany marked this pull request as ready for review February 26, 2025 15:36
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Feb 26, 2025
Merged via the queue into kolide:main with commit 0fbb9b3 Feb 26, 2025
32 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/flare-ctx-cancel branch February 26, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fixes Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants