Skip to content

Commit

Permalink
Merge pull request #2393 from rohanKanojia/pr/fix-failing-resource-it
Browse files Browse the repository at this point in the history
  • Loading branch information
fusesource-ci committed Aug 10, 2020
2 parents fa4e44d + 3bbddf1 commit d13a864
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -91,7 +91,7 @@ public void get() {
@Test
public void list() {
Pod listPod1 = new PodBuilder()
.withNewMetadata().withName("pod3").endMetadata()
.withNewMetadata().withName("resource-pod-list-pod3").endMetadata()
.withNewSpec()
.addNewContainer().withName("nginx").withImage("nginx").endContainer()
.endSpec()
Expand All @@ -100,7 +100,7 @@ public void list() {
.inNamespace(session.getNamespace())
.createOrReplace();

Assert.assertNotNull(client.pods().inNamespace(session.getNamespace()).withName("pod3"));
Assert.assertNotNull(client.pods().inNamespace(session.getNamespace()).withName("resource-pod-list-pod3"));

boolean bDeleted = client.resourceList(new PodListBuilder().withItems(listPod1).build())
.inNamespace(session.getNamespace())
Expand Down

0 comments on commit d13a864

Please sign in to comment.