Skip to content

Conversation

daipom
Copy link
Contributor

@daipom daipom commented Sep 10, 2025

Which issue(s) this PR fixes:

Continued from

What this PR does / why we need it:
Each test should not consider the initialization of Fluent::Engine. It should be the responsibility of Fluent::Test.setup.

Note: Set nil explicitly to ensure that GC can remove the objects, though it is very strange that some objects can still exist after remove_const and GC.start.

Docs Changes:
Not needed.

Release Note:
CI improvements.

@daipom daipom added this to the v1.16.10 milestone Sep 10, 2025
@daipom daipom added the CI Test/CI issues label Sep 10, 2025
@daipom daipom marked this pull request as draft September 10, 2025 15:57
@daipom
Copy link
Contributor Author

daipom commented Sep 10, 2025

Need to merge the following PR first.

@daipom daipom force-pushed the barkport-pr5057 branch 2 times, most recently from 619bcee to 40c5791 Compare September 11, 2025 07:16
**Which issue(s) this PR fixes**:
Continued from

* fluent#5054
* fluent#5055 (6cac9f0)

**What this PR does / why we need it**:
Each test should not consider the initialization of `Fluent::Engine`.
It should be the responsibility of `Fluent::Test.setup`.

Note: Set `nil` explicitly to ensure that GC can remove the objects,
though it is very strange that some objects can still exist after
`remove_const` and `GC.start`.

**Docs Changes**:
Not needed.

**Release Note**:
CI improvements.

Signed-off-by: Daijiro Fukuda <[email protected]>
@daipom daipom marked this pull request as ready for review September 11, 2025 07:24
@daipom daipom merged commit 2c17316 into fluent:v1.16 Sep 11, 2025
21 checks passed
@daipom daipom deleted the barkport-pr5057 branch September 11, 2025 07:58
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