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

Give TestCloseChannel more time to close the channel #4422

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

rdner
Copy link
Member

@rdner rdner commented Mar 18, 2024

If the initial wait is short it's possible that time.After unblocks faster than the channel gets closed. Which makes this test to fail.

Related issues

If the initial wait is short it's possible that `time.After` unblocks
faster than the channel gets closed. Which makes this test to fail.
@rdner rdner added Team:Elastic-Agent Label for the Agent team skip-changelog backport-v8.13.0 Automated backport with mergify labels Mar 18, 2024
@rdner rdner self-assigned this Mar 18, 2024
@rdner rdner requested a review from a team as a code owner March 18, 2024 13:23
@rdner rdner requested review from AndersonQ and blakerouse March 18, 2024 13:23
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@rdner rdner enabled auto-merge (squash) March 18, 2024 15:35
@rdner rdner requested a review from pchila March 18, 2024 15:55
Copy link

Quality Gate passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No Coverage information No data about Coverage
0.0% 0.0% Duplication on New Code

See analysis details on SonarQube

@rdner rdner requested a review from cmacknz March 18, 2024 17:33
@rdner rdner merged commit 775e020 into elastic:main Mar 18, 2024
9 checks passed
mergify bot pushed a commit that referenced this pull request Mar 18, 2024
If the initial wait is short it's possible that `time.After` unblocks
faster than the channel gets closed. Which makes this test to fail.

(cherry picked from commit 775e020)
@rdner rdner deleted the fix-flaky-jitter-test branch March 18, 2024 19:27
rdner added a commit that referenced this pull request Mar 18, 2024
If the initial wait is short it's possible that `time.After` unblocks
faster than the channel gets closed. Which makes this test to fail.

(cherry picked from commit 775e020)

Co-authored-by: Denis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v8.13.0 Automated backport with mergify skip-changelog Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Flaky Test]: TestCloseChannel/EqualJitterBackoff – Should be false
3 participants