Page MenuHomeSoftware Heritage

tests: Make check-snapshot utility test function recursively check targetted object exists
Closed, MigratedEdits Locked

Description

Make the swh.loader.tests.check_snapshot function check object references recursively.
Making a recursive check of all objects pointed at by the snapshot would alleviate these concerns completely (and for all loaders).

That would allow ensuring that we no longer generate buggy edges (at least from test standpoint first).
And if we do, making it catch quickly by our ci.

Event Timeline

ardumont triaged this task as Normal priority.Jul 6 2020, 3:50 PM
ardumont created this task.
ardumont claimed this task.