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

Tests are very slow in obs_lsst

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: obs_lsst
    • Labels:
      None

      Description

      The butler tests in obs_lsst take a very long time (12 minutes on my laptop just for imsim). It seems that this is almost entirely down to a butler being setup for every single test. Investigate whether the butler can be set up once per test class instead (there might be an issue with the global variable when tests run in parallel).

        Attachments

          Issue Links

            Activity

            Hide
            krughoff Simon Krughoff added a comment -

            Reviewed in PR.

            Show
            krughoff Simon Krughoff added a comment - Reviewed in PR.
            Hide
            tjenness Tim Jenness added a comment -

            Tests take about 3 minutes on my laptop now rather than 20 minutes.

            Show
            tjenness Tim Jenness added a comment - Tests take about 3 minutes on my laptop now rather than 20 minutes.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel