Commit 619bcee
committed
test: ensure removing old engine on setup (#5057)
**Which issue(s) this PR fixes**:
Continued from
* #5054
* #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]>1 parent 57d3738 commit 619bcee
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
0 commit comments