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

[QE] MultipleClusterOperatorsIsolatedST.testKafkaCCAndRebalanceWithMultipleCOs with two COs in the same namespace

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2.3.0.GA
    • None
    • None
    • None

      The MultipleClusterOperatorsIsolatedST contains two STs which ru multiple CO instances in parallel. The testKafkaCCAndRebalanceWithMultipleCOs was running both of them in the same namespace. During the work on the leader election, I modified this test to run the operators in different namespaces (but watch the same namespace where the test resources are created). The original way of running both COs in the same namespace did not worked out of the box because they share the same Lease lock with their default configuration, so this modification allowed the test to pass.

      If it is important for this test to run both CO instances in the same namespace, the test will need further improvement and during the CO installation, it will need to:

      • Modify the Lease name in the operator configuration (Env. var)
      • Modify the RBAC file to allow it work with the new Lease name (Cluster Role modification)

              lkral Lukas Kral
              scholzj JAkub Scholz
              Lukas Kral Lukas Kral
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: