Skip to content

Commit

Permalink
Tighten CasCTest by adding explicit definition of `inheritYamlMerge…
Browse files Browse the repository at this point in the history
…Strategy` (#1619)
  • Loading branch information
Vlatombe authored Nov 6, 2024
1 parent 20a7e4d commit 2ab7579
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ protected void assertConfiguredAsExpected(RestartableJenkinsRule r, String confi
assertEquals(5, podTemplate.getIdleMinutes());
assertEquals(66, podTemplate.getActiveDeadlineSeconds());
assertNull(podTemplate.getYamlMergeStrategy());
assertFalse(podTemplate.isInheritYamlMergeStrategy());
assertThat(podTemplate.getResolvedYamlMergeStrategy(), isA(Overrides.class));
podTemplate = templates.get(1);
assertFalse(podTemplate.isHostNetwork());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jenkins:
requestsSize: "1"
storageClassName: "hostpath"
yamlMergeStrategy: "override"
inheritYamlMergeStrategy: false
- containers:
- args: "cat"
command: "/bin/sh -c"
Expand Down

0 comments on commit 2ab7579

Please sign in to comment.