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.
1 file changed
tree: db4229ddee7b1855c0273addc3a4af4dd70f7d7b
  1. .gitignore
  2. .travis.yml
  4. include/
  5. priv/
  6. rebar.config.script
  7. src/
  8. test/