Details
-
Type:
Story
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_persistence, Database, obs_sdss
-
Labels:None
-
Team:Data Access and Database
Description
There is a number of packages (daf_ingest, obs_sdss, obs_lsstSim, daf_persistence) that contains unit tests which communicate with a database server. When the usual database server at NCSA is not up, or not reachable, the tests are skipped.
It should be possible to do something more useful via mocking. For example, it may be possible to record and serialize a passing unit test's database interactions with a live instance, and to play back those interactions via mocks of the DBAPI connection and cursor classes when no live database is available.
Attachments
Issue Links
- relates to
-
DM-7609 Jenkins does not run testSelectSdssImages.py
- Won't Fix
Jacek Becla - KT suggested I assign this to you for consideration