GIVEN:
Three are 2 sealed Folo records
WHEN:
Export tracking report Zip
THEN:
The exported zip file contains the 2 sealed records
WHEN:
Execute clearTrackingRecord to clear all sealed records
THEN:
All records are cleared
WHEN:
Execute importTrackingReportZip to import the Zip
THEN:
The 2 records are restored
GIVEN:
There is a folo-sealed.zip file under indy/data/folo folder
WHEN:
Indy starts
THEN:
The records in the zip file are imported to sealed
The folo-sealed.dat is backed up to folo-sealed.dat.bak
The folo-sealed.zip is rename to folo-sealed.zip.loaded after migration is done
This case test if the folo tracking ids can be fetched correctly
when:
create central store repo and store a pom
generate the report for central and pom
sealed the report
then:
get sealed report ids correctly
GIVEN:
Repo A and path P
WHEN:
Retrieve the P from A through Folo trackingId
Seal the trackingId
Get the download records by trackingId
THEN:
The download record contains path P on store A