Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-11595

daf_persistence tests fail with pytest-xdist

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: daf_persistence
    • Labels:
      None
    • Templates:
    • Story Points:
      3
    • Sprint:
      DB_S17_8
    • Team:
      Architecture

      Description

      With DM-11514, we get tests run in parallel using pytest-xdist. This seems to cause individual tests to be parallelized in multiple processes, leading to the daf_persistence tests failing because they assume that a single temp directory can be used for all tests in a single class.

      We need to change this so that setUp allocates a proper temp directory with a unique name.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tjenness Tim Jenness
                Reporter:
                tjenness Tim Jenness
                Reviewers:
                Nate Pease
                Watchers:
                Nate Pease, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel