Just to make sure they don't crash like contents currently do (T4345)
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDVAUc07d934aeff6: Add test for DirectoryBuilder on missing directories
Diff Detail
Diff Detail
- Repository
- rDVAU Software Heritage Vault
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 30012 Build 46917: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 46916: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
Patch application report for D8031 (id=28919)
Could not rebase; Attempt merge onto 6da99426e2...
Updating 6da9942..c07d934 Fast-forward swh/vault/tests/test_to_disk.py | 60 +++++++++++++++++++++++++++++++++++++---- swh/vault/to_disk.py | 17 ++++++++---- 2 files changed, 67 insertions(+), 10 deletions(-)
Changes applied before test
commit c07d934aeff664c2e4b74818133344576d99b23f Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jun 23 10:18:59 2022 +0200 Add test for DirectoryBuilder on missing directories commit 141b4531b1a6924806787252db15172422553c04 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Jun 23 10:04:16 2022 +0200 Fix crash on directories pointing to missing contents This can happen for various reasons, such as running the vault on a mirror that is partially replayed
See https://jenkins.softwareheritage.org/job/DVAU/job/tests-on-diff/241/ for more details.