lsst-sims / legacy_sims_catUtils

LSST Simulations package for catalog utilities
3 stars 4 forks source link

Added ignore_errors flag to rmtree #111

Closed rhiannonlynne closed 3 years ago

rhiannonlynne commented 3 years ago

Jenkins can sometimes fail to delete directories (see https://jira.lsstcorp.org/browse/DM-10300) and the fix is apparently to ignore the error in the deletion. When we create directories for tests, we use random temporary names that should always be empty directories -- so ignoring the deletion errors should not impact unit tests.