Skip to content

chore(inputs.cloudwatch_metric_streams): Cleanup test code - #19567

Merged
srebhan merged 1 commit into
influxdata:masterfrom
srebhan:cloudwatch_cleanup_tests
Aug 26, 2026
Merged

chore(inputs.cloudwatch_metric_streams): Cleanup test code#19567
srebhan merged 1 commit into
influxdata:masterfrom
srebhan:cloudwatch_cleanup_tests

Conversation

@srebhan

@srebhan srebhan commented Aug 26, 2026

Copy link
Copy Markdown
Member

Summary

This PR cleans the unit-test code for the Cloudwatch streams plugin to use common infrastructure and make tests self-contained. Furthermore, the PR converts the tests to use dynamic listener ports to prevent side-effects. Those side-effects can be caused because all tests listen on the same port so one test could pick-up the HTTP server of another test's plugin causing tests to fail due to different data or configured behavior.

Checklist

Related issues

required for #19549

@telegraf-tiger telegraf-tiger Bot added chore plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Aug 26, 2026
@telegraf-tiger

Copy link
Copy Markdown
Contributor

Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip.
Downloads for additional architectures and packages are available below.

⚠️ This pull request increases the Telegraf binary size by 7.28 % for linux amd64 (new size: 330.7 MB, nightly size 308.2 MB)

📦 Click here to get additional PR build artifacts

Artifact URLs

. DEB . RPM . TAR . GZ . ZIP
amd64.deb aarch64.rpm darwin_amd64.tar.gz windows_amd64.zip
arm64.deb armel.rpm darwin_arm64.tar.gz windows_arm64.zip
armel.deb armv6hl.rpm freebsd_amd64.tar.gz windows_i386.zip
armhf.deb i386.rpm freebsd_armv7.tar.gz
i386.deb ppc64le.rpm freebsd_i386.tar.gz
mips.deb riscv64.rpm linux_amd64.tar.gz
mipsel.deb s390x.rpm linux_arm64.tar.gz
ppc64el.deb x86_64.rpm linux_armel.tar.gz
riscv64.deb linux_armhf.tar.gz
s390x.deb linux_i386.tar.gz
linux_mips.tar.gz
linux_mipsel.tar.gz
linux_ppc64le.tar.gz
linux_riscv64.tar.gz
linux_s390x.tar.gz

@srebhan
srebhan merged commit caebf77 into influxdata:master Aug 26, 2026
27 checks passed
@srebhan
srebhan deleted the cloudwatch_cleanup_tests branch August 26, 2026 18:55
@github-actions github-actions Bot added this to the v1.40.0 milestone Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants