Skip to content

Conversation

@Watson1978
Copy link
Contributor

Which issue(s) this PR fixes:

What this PR does / why we need it:
test_supervisor.rb uses a constant named TMP_DIR. However, the constant is not defined in this file, it is defined in another file.

TMP_DIR = File.dirname(__FILE__) + "/tmp/config_dsl#{ENV['TEST_ENV_NUMBER']}"

This PR will use expected temporary directory for tests.

Docs Changes:
N/A

Release Note:
N/A

Which issue(s) this PR fixes:
Fixes #

What this PR does / why we need it:

Docs Changes:

Release Note:

**Which issue(s) this PR fixes**:
Fixes #

**What this PR does / why we need it**:
test_supervisor.rb uses a constant named `TMP_DIR`.
However, the constant is not defined in this file, it is defined in
another file.

https://github.com/fluent/fluentd/blob/5a875090dde0222edf789422c7b2f27a828c72c3/test/config/test_dsl.rb#L5

This PR will use expected temporary directory for tests.

**Docs Changes**:
N/A

**Release Note**:
N/A

Signed-off-by: Shizuo Fujita <[email protected]>
@daipom daipom added this to the v1.16.11 milestone Nov 4, 2025
@daipom
Copy link
Contributor

daipom commented Nov 4, 2025

Need to check broken CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants