Considering options for how best to test this. It's more complicated that most Perl changes, since it requires running the importer service and importing records. May have to rely on humans.
To test:
1. Run marc_stream_importer.pl with command line arguments sufficient for importing authority records.
2. Import an authority record.
3. Confirm the vandelay copy of the authority record (vandelay.queued_authority_record) is deleted after the record is successfully imported.
The logs will show a call to open-ils.pcrud.delete.vqar, which would not have appeared before applying this patch, since it was always calling the .vqbr version of the API.
Fix pushed:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1580676- stream- auth-delete- repair
Considering options for how best to test this. It's more complicated that most Perl changes, since it requires running the importer service and importing records. May have to rely on humans.
To test:
1. Run marc_stream_ importer. pl with command line arguments sufficient for importing authority records. queued_ authority_ record) is deleted after the record is successfully imported.
2. Import an authority record.
3. Confirm the vandelay copy of the authority record (vandelay.
The logs will show a call to open-ils. pcrud.delete. vqar, which would not have appeared before applying this patch, since it was always calling the .vqbr version of the API.