Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8753

KubernetesAssert::deployments fails if test project depends on more than 1 deployments

    Details

    • Sprint:
      FIS 2.0 Sprint 7

      Description

      Having a fabric8-arquillian test project with 2 deployments, calling

      assertThat(client).deployments().pods().isPodReadyForPeriod();
      

      fails with

      java.lang.AssertionError: [No pod selection kinds found on the classpath such as Deployment, DeploymentConfig, ReplicaSet, ReplicationController] 
      Expected size:<1> but was:<2> in:
      <[io.fabric8.kubernetes.assertions.DeploymentConfigPodsAssert@1,
          io.fabric8.kubernetes.assertions.DeploymentConfigPodsAssert@1]>
              at io.fabric8.kubernetes.assertions.KubernetesAssert.deployments(KubernetesAssert.java:96)
              at com.redhat.xpaas.qe.KubernetesIntegrationKT.testAppProvisionsRunningPods(KubernetesIntegrationKT.java:35)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                maschmid Marek Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: