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

Incorrect timestamp generation may lead to saving outdated TestRunStatus results

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.2.0
    • Test Run Status
    • Xray 2022 S8

    Description

      Incorrect timestamp generation may lead to saving outdated TestRunStatus results.

       

      1) User deletes a Test Execution from Test Plan. Test Plan has a Test which is included in that Test Execution.

      2) Thread T1 is generated, it makes a test run status calculation which may take a while depending on how much information (example: scopes) it need to consider.

      3) Immediately after, user imports another PASSING execution (with the same Test) into the Test Plan. Thread T2 is generated.

      4) While T2 has already finished the calculation and saves its PASS result in the TestRunStatus table, T1 finishes and removes the previous PASS result from the TestRunStatus.

       

      At this point the Test Plan is incorrect: The Test Plan Status bar is TODO, the latest status for the Test is TODO but the Test has one execution in the Test Plan scope has PASS.

       

               

      Attachments

        Activity

          People

            dmdu David Duarte
            dmdu David Duarte
            David Duarte, Diamantino Campos, Fabio Cunha
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 41 minutes
                6h 41m