From 90ebf1a2574680f60fe3addae16581537468cde7 Mon Sep 17 00:00:00 2001 From: Yanqin Jin Date: Thu, 12 Jul 2018 17:40:31 -0700 Subject: [PATCH] Reduce execution time of a test. (#4127) Summary: Reduce the number of key ranges in `ExternalSSTFileTest.OverlappingRanges` so that the test completes in shorter time to avoid timeouts. Pull Request resolved: https://github.com/facebook/rocksdb/pull/4127 Differential Revision: D8827851 Pulled By: riversand963 fbshipit-source-id: a16387b0cc92a7c872b1c50f0cfbadc463afc9db --- db/external_sst_file_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/external_sst_file_test.cc b/db/external_sst_file_test.cc index 046422eb1..b895c625e 100644 --- a/db/external_sst_file_test.cc +++ b/db/external_sst_file_test.cc @@ -925,7 +925,7 @@ TEST_F(ExternalSSTFileTest, OverlappingRanges) { printf("Option config = %d\n", option_config_); std::vector> key_ranges; - for (int i = 0; i < 500; i++) { + for (int i = 0; i < 100; i++) { int range_start = rnd.Uniform(20000); int keys_per_range = 10 + rnd.Uniform(41);