Skip to content
Snippets Groups Projects
Commit eefe451b authored by Steven Murray's avatar Steven Murray
Browse files

cta/CTA#141 cta tape reclaim does not clean the occupancy field

Improved unit tests to test for the fact that reclaim should
reset the tape occupancy field.

The following unit now "succesfully" fails:

[ RUN      ] InMemory/cta_catalogue_CatalogueTest.reclaimTape_full_lastFSeq_1_no_tape_files/0
/home/smurray/CTA/catalogue/CatalogueTest.cpp:7029: Failure
Value of: tape.dataOnTapeInBytes
  Actual: 1
Expected: 0
[  FAILED  ] InMemory/cta_catalogue_CatalogueTest.reclaimTape_full_lastFSeq_1_no_tape_files/0, where GetParam() = 0x7fc58e93eab0 (7 ms)

The next step is to fix the bug in reclaim.
parent 2aaa176b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment