-
- Downloads
tests: Use production backends within the indexer tests
This detected some paper cuts within cli tests for example. The main goal is to decrease friction when actually deploying indexer related services (backend, indexers, ...). The pg backends tests should still be reasonably fast as it's using the swh.core.db.pytest_plugin (which truncate tables in between tests). Related to T2821
parent
28ae49da
No related branches found
No related tags found
Showing
- conftest.py 6 additions, 2 deletionsconftest.py
- requirements-swh.txt 1 addition, 1 deletionrequirements-swh.txt
- swh/indexer/storage/db.py 2 additions, 2 deletionsswh/indexer/storage/db.py
- swh/indexer/tests/conftest.py 49 additions, 27 deletionsswh/indexer/tests/conftest.py
- swh/indexer/tests/test_cli.py 112 additions, 77 deletionsswh/indexer/tests/test_cli.py
- swh/indexer/tests/test_origin_head.py 12 additions, 26 deletionsswh/indexer/tests/test_origin_head.py
- swh/indexer/tests/test_origin_metadata.py 62 additions, 27 deletionsswh/indexer/tests/test_origin_metadata.py
Loading
-
Some references in the commit message have been migrated:
- T2821 is now swh/meta#2821 (closed)
Please register or sign in to comment