commit | f09e3210158feb3e193809e8fff24c0df0171c2e | [log] [tgz] |
---|---|---|
author | Paul J. Davis <paul.joseph.davis@gmail.com> | Thu Feb 02 12:33:55 2017 -0600 |
committer | Jan Lehnardt <jan@apache.org> | Thu Mar 23 14:23:30 2017 +0100 |
tree | db4229ddee7b1855c0273addc3a4af4dd70f7d7b | |
parent | 016e1aa0ef4db0bbf47a28a2cce48b85200702d6 [diff] |
Fix compaction daemon tests There was a race condition in the compaction daemon tests where the compaction daemon would think a compaction had finished but the test would grab file size info before the compaction had swapped out which breaks the assertion that fragmentation was reduced. There was also a slight error in calculating the fragmentation in the test suite by using the wrong size value.