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")
35
+
val smokeTestRunnerOutput = runSmokeTests("exceptionService", expectingFailure =true)
35
36
36
37
assertContains(smokeTestRunnerOutput, "not ok ExceptionService ExceptionTest - no error expected from service")
37
38
assertContains(smokeTestRunnerOutput, "#aws.smithy.kotlin.runtime.http.interceptors.SmokeTestsFailureException: Smoke test failed with HTTP status code: 400")
@@ -59,6 +60,7 @@ class SmokeTestE2ETest {
59
60
privatefunrunSmokeTests(
60
61
service:String,
61
62
envVars:Map<String, String> = emptyMap(),
63
+
expectingFailure:Boolean = false,
62
64
): String {
63
65
val sdkRootDir =System.getProperty("user.dir") +"/../../../"
64
66
val processBuilder =
@@ -78,6 +80,10 @@ private fun runSmokeTests(
78
80
val process = processBuilder.start()
79
81
val output = process.inputStream.bufferedReader().use { it.readText() }
0 commit comments