Skip to content

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