leveldb: testing: Wait for compaction on TestDb_SparseMerge