Skip to content

Conversation

@ianbotsf
Copy link
Contributor

@ianbotsf ianbotsf commented Apr 1, 2025

Issue #

(none)

Description of changes

This change modularizes smoke test runners to improve their testability so that the E2E smoke tests can be refactored in aws-sdk-kotlin to run inside the top-level Gradle build.

Companion PR: aws/aws-sdk-kotlin#1558

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…odularize smoke test runners to improve testability
@ianbotsf ianbotsf added the no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly. label Apr 1, 2025
@ianbotsf ianbotsf requested a review from a team as a code owner April 1, 2025 22:56
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

}
indent()
write(".map { it() }")
write(".none { !it }")
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Converting this none into an all would remove the need for negation and make it easier to read:

write(".all { it }")

writer.withBlock("if (!success) {", "}") {
write("#T(exception)", RuntimeTypes.Core.SmokeTests.printExceptionStackTrace)
write("exitCode = 1")
write("printer.appendLine(exception.stackTraceToString().prependIndent(#S))", "#")
Copy link
Contributor

Choose a reason for hiding this comment

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

Style/Suggestion: "# " with a space after # to slightly improve readability

@github-actions
Copy link

github-actions bot commented Apr 2, 2025

Affected Artifacts

Changed in size
Artifact Pull Request (bytes) Latest Release (bytes) Delta (bytes) Delta (percentage)
runtime-core-jvm.jar 829,386 827,499 1,887 0.23%

@ianbotsf ianbotsf merged commit 5d8d7fd into main Apr 2, 2025
16 checks passed
@ianbotsf ianbotsf deleted the chore-reintegrate-e2e-smoketests branch April 2, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants