-
Notifications
You must be signed in to change notification settings - Fork 55
feat: smoke tests #1427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: smoke tests #1427
Conversation
… smoke-tests-trait
… smoke-tests-trait
|
A new generated diff is ready to view. |
| val sdkRootDir = System.getProperty("user.dir") + "/../../../" | ||
| val runner = GradleRunner.create() | ||
| .withProjectDir(File(sdkRootDir)) | ||
| .withArguments(listOf("-Paws.kotlin.native=false", ":tests:codegen:smoke-tests:services:$service:smokeTest")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice find!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This comment has been minimized.
This comment has been minimized.
| val runner = GradleRunner.create() | ||
| .withProjectDir(File(sdkRootDir)) | ||
| .withArguments(":tests:codegen:smoke-tests:services:$service:smokeTest") | ||
| .withArguments(listOf("-Paws.kotlin.native=false", ":tests:codegen:smoke-tests:services:$service:smokeTest")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: A vararg overload of withArguments exists so listOf could be removed.
.withArguments("-Paws.kotlin.native=false", ":tests:codegen:smoke-tests:services:$service:smokeTest")| val runner = GradleRunner.create() | ||
| .withProjectDir(File(sdkRootDir)) | ||
| .withArguments(":tests:codegen:smoke-tests:services:$service:smokeTest") | ||
| .withArguments(listOf("-Paws.kotlin.native=false", ":tests:codegen:smoke-tests:services:$service:smokeTest")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: Do we have a task or something that tracks removing all the places we've disabled native builds? If not, I suggest we add a FIXME or something else here to increase the likelihood we remember to remove this once Kotlin/Native is ready.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point. I added a subtask to our Kotlin Native task so we remember.
|
|
A new generated diff is ready to view. |
Affected ArtifactsChanged in size
|



Issue #
Description of changes
Reintroduces support for smoke tests which was reverted in #1421. With the addition of smoke test e2e tests running with
aws.kotlin.nativeturned off.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.