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

XMLWordPrintable

    • User Experience
    • % %
    • FIS 2.0 Sprint 7

      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)
      

        1. f8-arq.tar
          60 kB
          Marek Schmidt
        2. f8-arq-fixed.tar
          60 kB
          Marek Schmidt

              Unassigned Unassigned
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: