Skip to content

Commit

Permalink
misc: disable smoke test runner e2e tests (#1476)
Browse files Browse the repository at this point in the history
  • Loading branch information
0marperez authored Dec 3, 2024
1 parent e75887d commit 8a92684
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ coroutines-version = "1.9.0"
atomicfu-version = "0.25.0"

# smithy-kotlin codegen and runtime are versioned separately
smithy-kotlin-runtime-version = "1.3.27"
smithy-kotlin-codegen-version = "0.33.27"
smithy-kotlin-runtime-version = "1.3.28"
smithy-kotlin-codegen-version = "0.33.28"

# codegen
smithy-version = "1.51.0"
Expand Down
6 changes: 6 additions & 0 deletions tests/codegen/smoke-tests/src/test/kotlin/SmokeTestE2ETest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import org.gradle.testkit.runner.GradleRunner
import java.io.File
import kotlin.test.*

// FIXME: Enable smoke test E2E tests
class SmokeTestE2ETest {
@Ignore
@Test
fun successService() {
val smokeTestRunnerOutput = runSmokeTests("successService")
Expand All @@ -13,13 +15,15 @@ class SmokeTestE2ETest {
assertContains(smokeTestRunnerOutput, "ok SuccessService SuccessTestWithTags - no error expected from service")
}

@Ignore
@Test
fun failureService() {
val smokeTestRunnerOutput = runSmokeTests("failureService")

assertContains(smokeTestRunnerOutput, "ok FailureService FailuresTest - error expected from service")
}

@Ignore
@Test
fun exceptionService() {
val smokeTestRunnerOutput = runSmokeTests("exceptionService", expectingFailure = true)
Expand All @@ -30,6 +34,7 @@ class SmokeTestE2ETest {
assertContains(smokeTestRunnerOutput, "#\tat aws.smithy.kotlin.runtime.http.interceptors.InterceptorExecutor.readBeforeDeserialization(InterceptorExecutor.kt:252)")
}

@Ignore
@Test
fun successServiceSkipTags() {
val envVars = mapOf(AWS_SKIP_TAGS to "success")
Expand All @@ -39,6 +44,7 @@ class SmokeTestE2ETest {
assertContains(smokeTestRunnerOutput, "ok SuccessService SuccessTestWithTags - no error expected from service # skip")
}

@Ignore
@Test
fun successServiceServiceFilter() {
val envVars = mapOf(AWS_SERVICE_FILTER to "Failure") // Only run tests for services with this SDK ID
Expand Down

0 comments on commit 8a92684

Please sign in to comment.