Skip to content

Conversation

@Watson1978
Copy link
Contributor

@Watson1978 Watson1978 commented Sep 22, 2025

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.

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

@Watson1978 Watson1978 added the CI Test/CI issues label Sep 22, 2025
@Watson1978 Watson1978 added this to the v1.20.0 milestone Sep 22, 2025
@Watson1978 Watson1978 requested review from daipom and kenhys September 22, 2025 02:56
@daipom daipom added backport to v1.16 We will backport this fix to the LTS branch backport to v1.19 We will backport this fix to the LTS branch labels Sep 22, 2025
Copy link
Contributor

@daipom daipom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@daipom daipom merged commit d146812 into fluent:master Sep 22, 2025
17 checks passed
@Watson1978 Watson1978 deleted the test_supervisor branch September 22, 2025 03:47
Watson1978 added a commit that referenced this pull request Nov 4, 2025
**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]>
Watson1978 added a commit that referenced this pull request Nov 4, 2025
**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 pushed a commit that referenced this pull request Nov 4, 2025
…r tests (#5102) (#5136)

**Which issue(s) this PR fixes**:
* Backport #5102

**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

<!--
Thank you for contributing to Fluentd!
Your commits need to follow DCO: https://probot.github.io/apps/dco/
And please provide the following information to help us make the most of
your pull request:
-->

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

**What this PR does / why we need it**: 

**Docs Changes**:

**Release Note**:

Signed-off-by: Shizuo Fujita <[email protected]>
@Watson1978 Watson1978 added the backported "backport to LTS" is done label Nov 4, 2025
ashie pushed a commit that referenced this pull request Nov 21, 2025
…r tests (#5102) (#5135)

**Which issue(s) this PR fixes**:
* Backport #5102

**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

<!--
Thank you for contributing to Fluentd!
Your commits need to follow DCO: https://probot.github.io/apps/dco/
And please provide the following information to help us make the most of
your pull request:
-->

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

**What this PR does / why we need it**: 

**Docs Changes**:

**Release Note**:

Signed-off-by: Shizuo Fujita <[email protected]>
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 backport to v1.19 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