8000 Backport(v1.16) test: improve Sigdump test for Windows (#4847) by daipom · Pull Request #4862 · fluent/fluentd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
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

Backport(v1.16) test: improve Sigdump test for Windows (#4847) #4862

Merged
merged 1 commit into from
Mar 11, 2025
Merged

Conversation

daipom
Copy link
Contributor
@daipom daipom commented Mar 11, 2025

Which issue(s) this PR fixes:

What this PR does / why we need it:
Sigdump.dump iterates ObjectSpace.
If there are DoubleDefinition objects of RR, it can set some expectations of RR unexpectedly.
It can cause test failure.

By doing GC, we can remove DoubleDefinition objects made in other tests. This allows us to simplify this test.

See #4063

Docs Changes:
Not needed.

Release Note:
Not needed.

**Which issue(s) this PR fixes**:
None.
Related to

* #4063
* #4846

**What this PR does / why we need it**:
Sigdump.dump iterates ObjectSpace.
If there are DoubleDefinition objects of RR, it can set some
expectations of RR unexpectedly.
It can cause test failure.

By doing GC, we can remove DoubleDefinition objects made in other tests.
This allows us to simplify this test.

See #4063

**Docs Changes**:
Not needed.

**Release Note**:
Not needed.

Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
@daipom daipom added the CI Test/CI issues label Mar 11, 2025
@daipom daipom added this to the v1.16.8 milestone Mar 11, 2025
Copy link
Contributor
@Watson1978 Watson1978 left a comment

Choose a reason for hiding this comment

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

👍🏻

@daipom daipom merged commit 500ac03 into v1.16 Mar 11, 2025
16 checks passed
@daipom daipom deleted the backport-4847 branch March 11, 2025 08:41
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
0