summaryrefslogtreecommitdiff
path: root/.github/ISSUE_TEMPLATE
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-07-20 19:18:50 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2019-07-20 10:18:50 -0700
commita2cb26f5207fa907860ee350d631afdfb4580bbd (patch)
tree6f98e2352690a0b359a1a69f1e2e0fd9329f823d /.github/ISSUE_TEMPLATE
parent930011c12487a7bf9d6809a654be4c94e98d3702 (diff)
downloadspack-a2cb26f5207fa907860ee350d631afdfb4580bbd.tar.gz
spack-a2cb26f5207fa907860ee350d631afdfb4580bbd.tar.bz2
spack-a2cb26f5207fa907860ee350d631afdfb4580bbd.tar.xz
spack-a2cb26f5207fa907860ee350d631afdfb4580bbd.zip
tests: speed up tests that rely on the database fixture (#12031)
The database and mutable_database fixtures were installing and uninstalling the same specs multiple times to ensure the database for tests has the correct state. This commit optimizes the procedure by caching the state in an external directory, and copying it in instead of going through the installation or uninstallation again. The database fixture is meant not to be modified by tests. This commit enforces this invariant by making the database read-only before starting the test. * Added missing db markers to tests * Added test for uninstall_by_spec * `database` fixture now returns a read-only database * Tests that modify the DB now use `mutable_database` fixture
Diffstat (limited to '.github/ISSUE_TEMPLATE')
0 files changed, 0 insertions, 0 deletions