Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-3743

Test Repository concurrency problems can lead to duplicated Tests in Test Plan board or Test Repository

    XporterXMLWordPrintable

Details

    • XRAY 2021 Sprint 3, XRAY 2021 Sprint 4, XRAY 2021 Sprint 9
    • NOTRUN

    Description

      Test Repository actions are not atomic/thread safe.

      Through concurrent edit actions (rest or GUI), it is possible to reach invalid states.

      e.g.: it is possible to move a test simultaneously to 2 different folders, as each concurrent action will be adding the test to a different folder without having to remove it from the other folder, leading to a state where the same test is placed in multiple folders within the same repository.

      This should be fixable by making each action 'atomic' with a 'locking' strategy

      Attachments

        Activity

          People

            pmmr Pedro Rodrigues
            cgso Claudio Sousa
            Pedro Rodrigues, Sara Santos [X] (Inactive)
            Votes:
            25 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 3 days, 7 hours, 57 minutes
                1w 3d 7h 57m