Skip to content

[fix] fix flaky test TestCloseFlushWithTimer - #1292

Merged
nodece merged 1 commit into
apache:masterfrom
RobertIndie:iss-1291
Sep 29, 2024
Merged

nodece merged 1 commit into
apache:masterfrom
RobertIndie:iss-1291

Conversation

@RobertIndie

Copy link
Copy Markdown
Member

Fixes #1291

Motivation

The MaxTime setting for AckGroupingTracker is too short at only 10,000 nanoseconds.
This causes the test very flaky.

Modifications

  • Change the MaxTime to 10 seconds

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API: (yes / no)
  • The schema: (yes / no / don't know)
  • The default values of configurations: (yes / no)
  • The wire protocol: (yes / no)

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / GoDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

## Motivation
The `MaxTime` setting for AckGroupingTracker is too short at only 10,000 nanoseconds.

This causes the test very flaky.

## Modification
- Change the `MaxTime` to 10 seconds
@RobertIndie RobertIndie self-assigned this Sep 27, 2024
@nodece
nodece merged commit 3d2c1cb into apache:master Sep 29, 2024
@RobertIndie RobertIndie added this to the v0.15.0 milestone Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test TestCloseFlushWithTimer

2 participants