Skip to content

Backport(v1.16): test_in_tail: add wait to detect rotation (#4874) #4925

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

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

kenhys
Copy link
Contributor

@kenhys kenhys commented Apr 24, 2025

Which issue(s) this PR fixes:
Backport #4874
Fixes #4079

What this PR does / why we need it:
For reasons such as the load on the CI execution environment, looks like that rotation detection is delayed and the test does not execute as expected.

For this reason, this patch adds a wait to ensure to detect the rotation.

Before the patch was introduced, tests failed about once every 20 to 50 times.
After, the test was successful 500 consecutive times.

Docs Changes:

Release Note:

**Which issue(s) this PR fixes**:
Fixes fluent#4079

**What this PR does / why we need it**:
For reasons such as the load on the CI execution environment, looks like
that rotation detection is delayed and the test does not execute as
expected.

For this reason, this patch adds a wait to ensure to detect the
rotation.

Before the patch was introduced, tests failed about once every 20 to 50
times.
After, the test was successful  500 consecutive times.

**Docs Changes**:

**Release Note**:

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
@daipom daipom merged commit bd34eaf into fluent:v1.16 Apr 25, 2025
16 checks passed
@kenhys kenhys deleted the backport-4874 branch April 25, 2025 01:32
@daipom daipom added this to the v1.16.8 milestone Apr 30, 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.

3 participants