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.19.1 milestone Nov 4, 2025
@daipom daipom merged commit 9099c9f into v1.19 Nov 4, 2025
3 checks passed
@daipom daipom deleted the backport-to-1.19/pr5102 branch November 4, 2025 06:36
@Watson1978 Watson1978 added the CI Test/CI issues label Nov 6, 2025
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.

3 participants