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
main
Andrew Kryczka 7 years ago committed by Facebook Github Bot
parent 044a71e27e
commit 025b85b4ac
  1. 2
      db/db_test.cc

@ -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) {

Loading…
Cancel
Save