c3-time-domain / SeeChange

A time-domain data reduction pipeline (e.g., for handling images->lightcurves) for surveys like DECam and LS4
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

Break out NOIRLab-Dependent tests #289

Open rknop opened 1 month ago

rknop commented 1 month ago

Our tests hang up when the NOIRLab server has problems, which seems to pop up every couple of months.

We have a bunch of tests that depend on a DECam exposure or two. We should move the ones we have to the NERSC archive where we store other things we download for our tests so those tests no longer depend on the NOIRLab archive. There are a handful of tests (maybe only one?) that explicitly test downloading from the NOIRLab archive. We should either put that one behind an environment variable so that it's not run by default, or we should mark it as something that's OK to fail.

rknop commented 1 month ago

Some of the relevant tests in tests/models/test_decam.py are test_decam_search_noirlab , test_decam_download_origin_exposure, test_decam_download_and_commit_exposure