Skip to content

Conversation

@lukeina2z
Copy link
Contributor

We want to run the SNS unit test twice, each time with a different parameter: once with TopicArn, and once with TargetArn. However, the second argument was mistakenly nested as a sub-parameter of the first due to misaligned parentheses. As a result, the unit test only runs once—with TopicArn—and never runs with TargetArn.

Tests Run:
./gradlew spotlessCheck
./gradlew clean assemble
./gradlew instrumentation:check
./gradlew :smoke-tests:test

No regression issues found.

Backward Compatibility:
There is no risk of breaking existing functionality. This change only fixes one unit test without modifying the existing behavior of the auto-instrumentation library.

We want to run the SNS unit test twice, each time with a different parameter: once with TopicArn, and once with TargetArn. However, the second argument was mistakenly nested as a sub-parameter of the first due to misaligned parentheses. As a result, the unit test only runs once—with TopicArn—and never runs with TargetArn.

Tests Run:
./gradlew spotlessCheck
./gradlew clean assemble
./gradlew instrumentation:check
./gradlew :smoke-tests:test

No regression issues found.

Backward Compatibility:
There is no risk of breaking existing functionality. This change only fixes one unit test without modifying the existing behavior of the auto-instrumentation library.
@lukeina2z lukeina2z requested a review from a team as a code owner June 9, 2025 00:20
@laurit laurit merged commit 850032e into open-telemetry:main Jun 9, 2025
88 checks passed
@lukeina2z lukeina2z deleted the sns-test-fix-pr branch July 10, 2025 21:59
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.

2 participants