Skip to content

Commit e86b3d7

Browse files
Fix bug with duplicate env. variable assignment (#671)
1 parent bb85b84 commit e86b3d7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

java/gradle/smoke_test/gradle_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,10 @@ func testGradleWithBuilder(builder string) func(*testing.T, spec.G, spec.S) {
9898
WithEnv(map[string]string{
9999
"BP_JVM_VERSION": "17",
100100
"BP_GRADLE_BUILT_ARTIFACT": "build/libs/*-SNAPSHOT.jar",
101+
"SERVICE_BINDING_ROOT": "/bindings",
101102
}).
102103
WithBuilder(builder).
103104
WithGID("123").
104-
WithEnv(map[string]string{
105-
"SERVICE_BINDING_ROOT": "/bindings",
106-
}).
107105
WithVolumes(fmt.Sprintf("%s:/bindings/gradle-wrapper", filepath.Join(source, "bindings/gradle-wrapper"))).
108106
Execute(name, source)
109107
Expect(err).ToNot(HaveOccurred(), logs.String)

0 commit comments

Comments
 (0)