Skip to content

CI: test_ack_handler: use singleton method instead of stub for stability - #4698

Merged
daipom merged 1 commit into
fluent:masterfrom
Watson1978:test_ack_handler
Nov 6, 2024
Merged

CI: test_ack_handler: use singleton method instead of stub for stability#4698
daipom merged 1 commit into
fluent:masterfrom
Watson1978:test_ack_handler

Conversation

@Watson1978

Copy link
Copy Markdown
Contributor

Which issue(s) this PR fixes:
Fixes #4694

What this PR does / why we need it:
When using stub, sometimes it causes errors when it remove prepared methods by stub. To improve the stability of the CI, this patch will use the singleton method instead of stub.

Docs Changes:

Release Note:

When using stub, sometimes it causes errors when it remove prepared methods by stub.
To improve the stability of the CI, this patch will use the singleton method instead of stub.

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978
Watson1978 requested a review from daipom November 6, 2024 03:28

@daipom daipom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@daipom
daipom merged commit 7008d53 into fluent:master Nov 6, 2024
@daipom daipom changed the title test_ack_handler: use singleton method instead of stub for stability CI: test_ack_handler: use singleton method instead of stub for stability Nov 6, 2024
@daipom daipom added the CI Test/CI issues label Nov 6, 2024
@Watson1978
Watson1978 deleted the test_ack_handler branch November 6, 2024 05:19
@daipom daipom added the backport to v1.16 We will backport this fix to the LTS branch label Jan 28, 2025
@daipom daipom added this to the v1.18.0 milestone Jan 28, 2025
kenhys pushed a commit that referenced this pull request Jan 29, 2025
…4698)

When using stub, sometimes it causes errors when it remove prepared methods by stub.
To improve the stability of the CI, this patch will use the singleton method instead of stub.

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
daipom pushed a commit that referenced this pull request Jan 29, 2025
…b for stability (#4794)

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

Backport #4698 

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

When using stub, sometimes it causes errors when it remove prepared
methods by stub. To improve the stability of the CI, this patch will use
the singleton method instead of stub.

**Docs Changes**:

**Release Note**:

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Co-authored-by: Watson <fujita@clear-code.com>
@kenhys kenhys added the backported "backport to LTS" is done label Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport to v1.16 We will backport this fix to the LTS branch backported "backport to LTS" is done CI Test/CI issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Fails "raises no error when another thread closes a socket"

3 participants