Skip to content

Backport(v1.19): test: stabilize in_tail compatibility notification test (#5565) - #5571

Merged
Watson1978 merged 1 commit into
v1.19from
backport-to-v1.19/pr5565
Oct 26, 2026
Merged

Watson1978 merged 1 commit into
v1.19from
backport-to-v1.19/pr5565

Conversation

@github-actions

Copy link
Copy Markdown

Which issue(s) this PR fixes:
Backport #5565

None.

What this PR does / why we need it:

The compatibility test can race with the stat watcher: after writing the
file, the watcher may call on_notify before the test's explicit call.
That consumes the test subclass's one-time false response, so the read
position has already advanced when the assertion runs.

Disable the stat watcher in this test so its explicit notifications control
the call order.

The failure reported by PR #5529 (GitHub Actions run 39210929391) is this
test-ordering instability, not a failure caused by the multithreading
implementation. The test uses the default synchronous mode, and this
stabilizes a compatibility test introduced by a separate refactoring.

Docs Changes:

None.

Release Note:

None; this only makes a test deterministic.

Assisted-by: LLM GPT-6 Luna (OpenAI)

**Which issue(s) this PR fixes**:

None.

**What this PR does / why we need it**:

The compatibility test can race with the stat watcher: after writing the
file, the watcher may call on_notify before the test's explicit call.
That consumes the test subclass's one-time false response, so the read
position has already advanced when the assertion runs.

Disable the stat watcher in this test so its explicit notifications
control
the call order.

The failure reported by PR #5529 (GitHub Actions run 39210929391) is
this
test-ordering instability, not a failure caused by the multithreading
implementation. The test uses the default synchronous mode, and this
stabilizes a compatibility test introduced by a separate refactoring.

**Docs Changes**:

None.

**Release Note**:

None; this only makes a test deterministic.

Assisted-by: LLM GPT-6 Luna (OpenAI)

---------

Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@Watson1978 Watson1978 added this to the v1.19.5 milestone Oct 26, 2026
@Watson1978 Watson1978 added the CI Test/CI issues label Oct 26, 2026
@Watson1978
Watson1978 merged commit 6d8cd60 into v1.19 Oct 26, 2026
21 checks passed
@Watson1978
Watson1978 deleted the backport-to-v1.19/pr5565 branch October 26, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Test/CI issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants