Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-3586

BDD tests: Make sure the namespace used is unique

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 0.17.0
    • 0.16.0
    • Operator
    • False
    • False
    • Undefined
    • ---
    • ---
    • 2020 Week 40-42 (from Sep 28)

      We got a racing condition in BDD tests because 2 scenarios used the same namespace name.

      panic: send on closed channel
      
      goroutine 31894 [running]:
      github.com/kiegroup/kogito-cloud-operator/test/framework.stopNamespaceMonitoring(0xc00231ed40, 0x15)
          /home/jenkins/workspace/KIE/kogito/kogito-operator-deploy/test/framework/logging.go:306 +0x99
      github.com/kiegroup/kogito-cloud-operator/test/framework.StopPodLogCollector(0xc00231ed40, 0x15, 0x1eaf500, 0xc002163080)
          /home/jenkins/workspace/KIE/kogito/kogito-operator-deploy/test/framework/logging.go:300 +0x7a

      Make sure the namespace name is unique in the whole test run.

              tradisso@redhat.com Tristan Radisson
              tradisso@redhat.com Tristan Radisson
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: