speedup DBTest.EncodeDecompressedBlockSizeTest

Summary:
it sometimes takes more than 10 minutes (i.e., times out) on our internal CI. mainly because bzip is super slow. so I reduced the amount of  work it tries to do.
Closes https://github.com/facebook/rocksdb/pull/2856

Differential Revision: D5795883

Pulled By: ajkr

fbshipit-source-id: e69f986ae60b44ecc26b6b024abd0f13bdf3a3c5
This commit is contained in:
Andrew Kryczka 2017-09-12 11:16:24 -07:00 committed by Facebook Github Bot
parent 044a71e27e
commit 025b85b4ac

View File

@ -4503,7 +4503,7 @@ TEST_F(DBTest, EncodeDecompressedBlockSizeTest) {
options.compression = comp;
DestroyAndReopen(options);
int kNumKeysWritten = 100000;
int kNumKeysWritten = 1000;
Random rnd(301);
for (int i = 0; i < kNumKeysWritten; ++i) {