Commit e6ede87d authored by Steven Murray's avatar Steven Murray
Browse files

DataTransferSessionTests now expect archive IDs starting from 1 instead of 0

parent 10c44576
......@@ -1354,7 +1354,7 @@ TEST_P(DataTransferSessionTest, DataTransferSessionTapeFullMigration) {
for(auto & sf: sourceFiles) {
auto afi = *(afiiter++);
// Only the first files made it through.
if (afi <= 3) {
if (afi <= 4) {
auto afs = catalogue.getArchiveFileById(afi);
ASSERT_EQ(1, afs.tapeFiles.size());
ASSERT_EQ(sf->adler32(), afs.checksumValue);
......@@ -1502,7 +1502,7 @@ TEST_P(DataTransferSessionTest, DataTransferSessionTapeFullOnFlushMigration) {
for(auto & sf: sourceFiles) {
auto afi = *(afiiter++);
// Only the first files made it through.
if (afi <= 3) {
if (afi <= 4) {
auto afs = catalogue.getArchiveFileById(afi);
ASSERT_EQ(1, afs.tapeFiles.size());
ASSERT_EQ(sf->adler32(), afs.checksumValue);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment