Skip to content

Commit

Permalink
Use Gradle Property and Provider to enable lazy evaluation for jib.co…
Browse files Browse the repository at this point in the history
…ntainer.environment (GoogleContainerTools#4067)
  • Loading branch information
Paul van der Bles committed Oct 4, 2024
1 parent 570150b commit 346f45c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public void testGetters() {
Mockito.when(containerParameters.getArgs()).thenReturn(Arrays.asList("--log", "info"));
Mockito.when(containerParameters.getEntrypoint()).thenReturn(Arrays.asList("java", "Main"));
Mockito.when(environment.get()).thenReturn(Collections.singletonMap("currency", "dollar"));
Mockito.when(containerParameters.getEnvironment()).thenReturn(environment);
Mockito.when(containerParameters.getJvmFlags()).thenReturn(Arrays.asList("-cp", "."));
Mockito.when(labels.get()).thenReturn(Collections.singletonMap("unit", "cm"));
Mockito.when(containerParameters.getLabels()).thenReturn(labels);
Expand Down

0 comments on commit 346f45c

Please sign in to comment.