Skip to content

Commit edff60e

Browse files
committed
added test
1 parent 0f4a45d commit edff60e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/org/csanchez/jenkins/plugins/kubernetes/KubernetesTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ public void mixedPrivivilegedPodTemplates() throws Exception {
209209
List<PodTemplate> templates = cloud.getTemplates();
210210
assertPodTemplates(templates, 2);
211211
PodTemplate template = templates.get(0);
212+
assertEquals(false, template.getContainers().get(0).isPrivileged());
213+
assertEquals(true, template.getContainers().get(1).isPrivileged());
212214
assertEquals(Collections.emptyList(), template.getYamls());
213215
assertNull(template.getYaml());
214216
}

0 commit comments

Comments
 (0)