Skip to content

Commit

Permalink
Fix bug with duplicate env. variable assignment (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonydahanne authored Jan 15, 2024
1 parent bb85b84 commit e86b3d7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions java/gradle/smoke_test/gradle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,10 @@ func testGradleWithBuilder(builder string) func(*testing.T, spec.G, spec.S) {
WithEnv(map[string]string{
"BP_JVM_VERSION": "17",
"BP_GRADLE_BUILT_ARTIFACT": "build/libs/*-SNAPSHOT.jar",
"SERVICE_BINDING_ROOT": "/bindings",
}).
WithBuilder(builder).
WithGID("123").
WithEnv(map[string]string{
"SERVICE_BINDING_ROOT": "/bindings",
}).
WithVolumes(fmt.Sprintf("%s:/bindings/gradle-wrapper", filepath.Join(source, "bindings/gradle-wrapper"))).
Execute(name, source)
Expect(err).ToNot(HaveOccurred(), logs.String)
Expand Down

0 comments on commit e86b3d7

Please sign in to comment.