Skip to content

test_plugin_generator: stub the Apache License download - #5461

Merged
kenhys merged 1 commit into
fluent:masterfrom
Watson1978:test-plugin-generator-stub-license-download
Aug 3, 2026
Merged

test_plugin_generator: stub the Apache License download#5461
kenhys merged 1 commit into
fluent:masterfrom
Watson1978:test-plugin-generator-stub-license-download

Conversation

@Watson1978

Copy link
Copy Markdown
Contributor

Which issue(s) this PR fixes:
Fixes #

What this PR does / why we need it:
FluentPluginGenerator::ApacheLicense downloads the license text from apache.org every time a plugin is generated, so the test case made 12 requests per run and depended on the network.

This causes test failures when the network is unstable, so I added a stub for it.

Ref. https://github.com/fluent/fluentd/actions/runs/30705665490/job/91384215966

Docs Changes:
N/A

Release Note:
N/A

FluentPluginGenerator::ApacheLicense downloads the license text from
apache.org every time a plugin is generated, so the test case made 12
requests per run and depended on the network.

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978 Watson1978 added this to the v1.20.0 milestone Aug 3, 2026
@Watson1978 Watson1978 added CI Test/CI issues backport to v1.19 We will backport this fix to the LTS branch labels Aug 3, 2026
@Watson1978
Watson1978 requested a review from kenhys August 3, 2026 05:40
@kenhys
kenhys merged commit 7fe0f19 into fluent:master Aug 3, 2026
24 checks passed
@Watson1978
Watson1978 deleted the test-plugin-generator-stub-license-download branch August 3, 2026 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport to v1.19 We will backport this fix to the LTS branch CI Test/CI issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants