Skip to content

Commit 02c87ac

Browse files
fixes gradle env-var interpretation issue on macos (#298)
1 parent 4f2545c commit 02c87ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.gradle

+4-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ test {
5555
systemProperty "kubernetes.disable.autoConfig", "true"
5656

5757
environment 'TESTCONTAINERS_REUSE_ENABLE', 'true'
58-
environment 'CONTAINER_FILTER', System.getenv("CONTAINER_FILTER")
58+
59+
if(System.getenv("CONTAINER_FILTER")) {
60+
environment 'CONTAINER_FILTER', System.getenv("CONTAINER_FILTER")
61+
}
5962

6063
useJUnitPlatform()
6164

0 commit comments

Comments
 (0)