Skip to content

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

Closed
kenhys wants to merge 1 commit into
fluent:v1.16from
kenhys:backport-4874
Closed

Backport(v1.16): test_in_tail: add wait to detect rotation (#4874)#4916
kenhys wants to merge 1 commit into
fluent:v1.16from
kenhys:backport-4874

Conversation

@kenhys

@kenhys kenhys commented Apr 23, 2025

Copy link
Copy Markdown
Contributor

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>
@kenhys kenhys closed this Apr 23, 2025
@kenhys
kenhys deleted the backport-4874 branch April 23, 2025 09:20
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.

2 participants