HomeSoftware Heritage

package.tests: Fix failure caused by wrong order of visit IDs

Description

package.tests: Fix failure caused by wrong order of visit IDs

The in-mem/cass storage used to sort visits by (id, date).
The last releases now sort by (date, id) like postgresql, but
this test did not expect it.

This commit instantiate the loader *after* picking a date
for the dummy visit, so the loader's visit always comes after
the dummy one.

Details

Provenance
vlorentzAuthored on Aug 31 2021, 10:36 AM
vlorentzPushed on Aug 31 2021, 10:54 AM
Differential Revision
D6164: package.tests: Fix failure caused by wrong order of visit IDs
Parents
rDLDBASE63a8a61cbc98: deposit: Update status_detail on loader failure
Branches
Unknown
Tags
Unknown
Build Status
Buildable 23283
Build 36330: test-and-buildJenkins console · Jenkins