Make DBTestUniversalCompaction.IncreaseUniversalCompactionNumLevels more deterministic
Make DBTestUniversalCompaction.IncreaseUniversalCompactionNumLevels more deterministic

Summary: DBTestUniversalCompaction, IncreaseUniversalCompactionNumLevels fails one in about 30 runs when running in parallel. We wait for compaction after each flush to make the compaction behavior deterministic.

Test Plan: Run the test 1000 times in parallel and it still passes.

Reviewers: yhchiang, IslamAbdelRahman

Reviewed By: IslamAbdelRahman

Subscribers: kradhakrishnan, yiwu, leveldb, andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D56841

hobinyoon/rocksdb,flabby/rocksdb,OverlordQ/rocksdb,facebook/rocksdb,norton/rocksdb,jalexanderqed/rocksdb,tsheasha/rocksdb,facebook/rocksdb,flabby/rocksdb,vmx/rocksdb,tsheasha/rocksdb,norton/rocksdb,wenduo/rocksdb,Andymic/rocksdb,ryneli/rocksdb,wenduo/rocksdb,SunguckLee/RocksDB,bbiao/rocksdb,SunguckLee/RocksDB,vmx/rocksdb,bbiao/rocksdb,ryneli/rocksdb,bbiao/rocksdb,norton/rocksdb,SunguckLee/RocksDB,Andymic/rocksdb,jalexanderqed/rocksdb,facebook/rocksdb,tsheasha/rocksdb,facebook/rocksdb,bbiao/rocksdb,tsheasha/rocksdb,flabby/rocksdb,facebook/rocksdb,jalexanderqed/rocksdb,wat-ze-hex/rocksdb,Andymic/rocksdb,OverlordQ/rocksdb,jalexanderqed/rocksdb,norton/rocksdb,Andymic/rocksdb,wat-ze-hex/rocksdb,vmx/rocksdb,jalexanderqed/rocksdb,hobinyoon/rocksdb,hobinyoon/rocksdb,wenduo/rocksdb,wenduo/rocksdb,flabby/rocksdb,wat-ze-hex/rocksdb,OverlordQ/rocksdb,SunguckLee/RocksDB,SunguckLee/RocksDB,jalexanderqed/rocksdb,hobinyoon/rocksdb,bbiao/rocksdb,Andymic/rocksdb,OverlordQ/rocksdb,flabby/rocksdb,hobinyoon/rocksdb,ryneli/rocksdb,OverlordQ/rocksdb,wat-ze-hex/rocksdb,OverlordQ/rocksdb,wenduo/rocksdb,flabby/rocksdb,wat-ze-hex/rocksdb,tsheasha/rocksdb,SunguckLee/RocksDB,wat-ze-hex/rocksdb,jalexanderqed/rocksdb,tsheasha/rocksdb,hobinyoon/rocksdb,wenduo/rocksdb,wat-ze-hex/rocksdb,Andymic/rocksdb,norton/rocksdb,bbiao/rocksdb,OverlordQ/rocksdb,facebook/rocksdb,vmx/rocksdb,Andymic/rocksdb,vmx/rocksdb,wenduo/rocksdb,ryneli/rocksdb,tsheasha/rocksdb,hobinyoon/rocksdb,vmx/rocksdb,norton/rocksdb,wat-ze-hex/rocksdb,tsheasha/rocksdb,SunguckLee/RocksDB,facebook/rocksdb,flabby/rocksdb,facebook/rocksdb,bbiao/rocksdb,ryneli/rocksdb,ryneli/rocksdb,hobinyoon/rocksdb,wenduo/rocksdb,vmx/rocksdb,bbiao/rocksdb,norton/rocksdb,ryneli/rocksdb,norton/rocksdb,SunguckLee/RocksDB,vmx/rocksdb,Andymic/rocksdb