Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-2925

kind property is duplicated in the tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.8.0.GA
    • None
    • None
    • None
    • False
    • False
    • Undefined

      We upgraded fabric8 kubernetes-client dependency in https://github.com/strimzi/strimzi-kafka-operator/pull/5000

       

      After that, some tests started failing because of a duplicate kind property. For example 

      ---
      apiVersion: "kafka.strimzi.io/v1alpha1"
      kind: "KafkaRebalance"
      metadata:
        labels:
          strimzi.io/cluster: "kafka-cruise-control-test-cluster"
        name: "my-rebalance"
        namespace: "cruise-control-namespace"
      spec:
        goals:
        - "CpuCapacityGoal"
        - "NetworkInboundCapacityGoal"
        - "DiskCapacityGoal"
        - "RackAwareGoal"
        - "NetworkOutboundCapacityGoal"
        - "ReplicaCapacityGoal"
        skipHardGoalCheck: false
        concurrentPartitionMovementsPerBroker: 0
        concurrentIntraBrokerPartitionMovements: 0
        concurrentLeaderMovements: 0
        replicationThrottle: 0
        unknown: "property"
      kind: "KafkaRebalance"
      

      To Reproduce:
      Run MockKubeTest class or io.strimzi.operator.cluster.operator.assembly.KafkaRebalanceAssemblyOperatorTest#testUnknownPropertyInSpec

       

      Started by https://github.com/strimzi/strimzi-kafka-operator/issues/5053

              Unassigned Unassigned
              sknot@redhat.com Stanislav Knot (Inactive)
              Lukas Kral Lukas Kral
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: