Igor Canadi e7ad14926a Fix flakiness in FIFOCompaction test (github issue #573)
Summary:
The problem is that sometimes two memtables will be compacted together into a single file. In that case, our assertion

        ASSERT_EQ(NumTableFilesAtLevel(0), 5);

fails because same amount of data is in 4 files instead of 5. We should wait for flush so that we prevent two memtables merging into a single file.

Test Plan: `for i in `seq 20`; do mrtest FIFOCompactionTest; done` -- fails at least once before. fails zero times after.

Reviewers: rven

Reviewed By: rven

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D36939
2015-04-13 11:39:45 -07:00
..
2015-04-06 12:50:44 -07:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2015-04-09 15:51:34 -07:00
2015-04-10 15:01:54 -07:00
2015-03-17 14:08:00 -07:00
2015-02-26 11:28:41 -08:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2015-01-26 11:48:07 -08:00
2015-04-07 16:25:56 -07:00
2015-03-17 14:08:00 -07:00
2015-04-07 16:25:56 -07:00
2015-01-13 12:27:28 -08:00
2015-02-26 11:28:41 -08:00
2015-03-30 16:05:35 -04:00
2015-04-10 12:35:28 -07:00
2015-03-17 14:08:00 -07:00
2015-02-26 11:28:41 -08:00
2014-11-06 11:14:28 -08:00
2015-02-06 08:44:30 -08:00
2015-03-17 14:08:00 -07:00
2014-10-31 11:59:54 -07:00
2015-02-06 08:44:30 -08:00
2015-02-26 11:28:41 -08:00
2014-11-10 17:39:38 -05:00
2014-09-13 14:14:10 -07:00
2014-09-12 16:23:58 -07:00