Skip to content

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

Merged
daipom merged 1 commit into
v1.16from
backport-4847
Mar 11, 2025
Merged

Backport(v1.16) test: improve Sigdump test for Windows (#4847)#4862
daipom merged 1 commit into
v1.16from
backport-4847

Conversation

@daipom

@daipom daipom commented Mar 11, 2025

Copy link
Copy Markdown
Contributor

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

@Watson1978 Watson1978 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.

👍🏻

@daipom
daipom merged commit 500ac03 into v1.16 Mar 11, 2025
@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