You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val smokeTestRunnerOutput = runSmokeTests("exceptionService", expectingFailure =true)
32
+
val smokeTestRunnerOutput = runSmokeTests("exceptionService")
34
33
35
34
assertContains(smokeTestRunnerOutput, "not ok ExceptionService ExceptionTest - no error expected from service")
36
35
assertContains(smokeTestRunnerOutput, "#aws.smithy.kotlin.runtime.http.interceptors.SmokeTestsFailureException: Smoke test failed with HTTP status code: 400")
@@ -58,21 +57,24 @@ class SmokeTestE2ETest {
58
57
privatefunrunSmokeTests(
59
58
service:String,
60
59
envVars:Map<String, String> = emptyMap(),
61
-
expectingFailure:Boolean = false,
62
60
): String {
63
61
val sdkRootDir =System.getProperty("user.dir") +"/../../../"
64
-
65
-
val task =GradleRunner.create()
66
-
.withProjectDir(File(sdkRootDir))
67
-
.withArguments(
68
-
"--stacktrace", // Make sure unexpected errors are debuggable
69
-
"-Paws.kotlin.native=false", // FIXME: Remove `-Paws.kotlin.native=false` when Kotlin Native is ready
0 commit comments