Skip to content

Commit c382bd2

Browse files
authored
chore: disable proxy/docker tests during release due to flakiness (#991)
1 parent 36d4b4b commit c382bd2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ kotest-version = "5.7.2"
2222
kotlin-compile-testing-version = "1.5.0"
2323
kotlinx-benchmark-version = "0.4.9"
2424
kotlinx-serialization-version = "1.6.0"
25-
testcontainers-version = "1.17.6"
25+
testcontainers-version = "1.19.1"
2626
ktor-version = "2.3.3"
2727
kaml-version = "0.49.0"
2828
jsoup-version = "1.15.3"

runtime/protocol/http-client-engines/test-suite/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ tasks.jvmTest {
110110
// set test environment for proxy tests
111111
systemProperty("MITM_PROXY_SCRIPTS_ROOT", projectDir.resolve("proxy-scripts").absolutePath)
112112
val enableProxyTestsProp = "aws.test.http.enableProxyTests"
113-
systemProperty(enableProxyTestsProp, System.getProperties().getOrDefault(enableProxyTestsProp, "true"))
113+
val runningInCodeBuild = System.getenv().containsKey("CODEBUILD_BUILD_ID")
114+
systemProperty(enableProxyTestsProp, System.getProperties().getOrDefault(enableProxyTestsProp, !runningInCodeBuild))
114115
}
115116

116117
gradle.buildFinished {

0 commit comments

Comments
 (0)