Skip to content

Commit d6d8411

Browse files
authored
fix: enhance smoke test debuggability by echoing build output from inner Gradle runner (#1519)
1 parent 0298a12 commit d6d8411

File tree

1 file changed

+1
-2
lines changed
  • tests/codegen/smoke-tests/src/test/kotlin/aws/sdk/kotlin/test/codegen/smoketest

1 file changed

+1
-2
lines changed

tests/codegen/smoke-tests/src/test/kotlin/aws/sdk/kotlin/test/codegen/smoketest/SmokeTestE2ETest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ class SmokeTestE2ETest {
3434

3535
assertContains(smokeTestRunnerOutput, "not ok ExceptionService ExceptionTest - no error expected from service")
3636
assertContains(smokeTestRunnerOutput, "#aws.smithy.kotlin.runtime.http.interceptors.SmokeTestsFailureException: Smoke test failed with HTTP status code: 400")
37-
assertContains(smokeTestRunnerOutput, "#\tat aws.smithy.kotlin.runtime.http.interceptors.SmokeTestsInterceptor.readBeforeDeserialization(SmokeTestsInterceptor.kt:19)")
38-
assertContains(smokeTestRunnerOutput, "#\tat aws.smithy.kotlin.runtime.http.interceptors.InterceptorExecutor.readBeforeDeserialization(InterceptorExecutor.kt:252)")
3937
}
4038

4139
@Test
@@ -72,6 +70,7 @@ private fun runSmokeTests(
7270
":tests:codegen:smoke-tests:services:$service:smokeTest",
7371
)
7472
.withEnvironment(envVars)
73+
.forwardOutput()
7574

7675
val buildResult = if (expectingFailure) task.buildAndFail() else task.build()
7776

0 commit comments

Comments
 (0)