Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-19601

When Test Case entity is duplicated user can't turn off Quarantine for that particular entity

    XMLWordPrintable

Details

    Description

      HTR

      It's not easy to reproduce by normal application usage. Issue may occur on heavy app load. However, it's easy to reproduce the problem by SQL manipulation.

      1. Create plan with at least one test case
      2. Add this test to quarantine
      3. Use SQL to duplicate this test case in DB (test_case table)
      4. Run build
      5. Remove quarantine for this test
      6. Run build

      Expected behavior

      Test is no longer quarantined

      Actual behavior

      Removing quarantine action removed the quarantine from the newest test case in DB. The duplicated entity has still quarantine properties set and because of that quarantine for given test case is still in place. It's not possible to change that state via UI.

      Quarantine processor should take into consideration only the newest test case or unleashing test should either remove quarantine properties from all test cases with given name and job (including duplicated ones). (Both perhaps?)

      Workaround

      Use REST to remove quarantine for duplicated test case.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              glewandowski Grzegorz Lewandowski
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: