Skip to content

Conversation

@daipom
Copy link
Contributor

@daipom daipom commented Mar 4, 2025

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

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.

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 fluent#4063

Signed-off-by: Daijiro Fukuda <[email protected]>
@daipom daipom added backport to v1.16 We will backport this fix to the LTS branch CI Test/CI issues labels Mar 4, 2025
@daipom daipom added this to the v1.19.0 milestone Mar 4, 2025
@daipom daipom merged commit 60e3693 into fluent:master Mar 11, 2025
7 of 10 checks passed
@daipom daipom deleted the test-improve-sigdump-test-for-windows branch March 11, 2025 08:00
daipom added a commit that referenced this pull request Mar 11, 2025
**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 <[email protected]>
daipom added a commit that referenced this pull request Mar 11, 2025
**Which issue(s) this PR fixes**:
* Backport #4847

**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 <[email protected]>
@daipom daipom 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.

2 participants