Skip to content

Commit

Permalink
Merge pull request #1130 from lsst/tickets/DM-48052
Browse files Browse the repository at this point in the history
DM-48052: Fix intermittent failure in unit tests
  • Loading branch information
dhirving authored Dec 9, 2024
2 parents 6da1657 + f6c1054 commit f14086a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_cliCmdRetrieveArtifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def testRetrieveAll(self):
self.assertTrue(result.stdout.endswith(": 6\n"), f"Expected 6 got: {result.stdout}")

artifacts = self.find_files(destdir)
artifacts.sort()
self.assertEqual(len(artifacts), 7, f"Expected 7 artifacts including index: {artifacts}")
self.assertIn(f"{destdir}{prefix}", str(artifacts[1]))

Expand All @@ -95,6 +96,7 @@ def testRetrieveSubset(self):
self.assertEqual(result.exit_code, 0, clickResultMsg(result))
self.assertTrue(result.stdout.endswith(": 3\n"), f"Expected 3 got: {result.stdout}")
artifacts = self.find_files(destdir)
artifacts.sort()
self.assertEqual(len(artifacts), 4, f"Expected 4 artifacts including index: {artifacts}")

def testRetrieveAsZip(self):
Expand Down

0 comments on commit f14086a

Please sign in to comment.