From 0ac0098705761e0b7486b1c1637410e516e9e97c Mon Sep 17 00:00:00 2001 From: mrambacher Date: Tue, 19 May 2020 09:20:21 -0700 Subject: [PATCH] Make options length longer for sst_dump_test (#6846) Summary: Under MacOS when running with make -j 8 check, the temporary directory generated was > 100 characters. This caused the tests to do nothing under MacOS. Most of them still reported success for doing nothing, but ReadaheadSize was expecting the test to run. By making the option name longer, the tests will no run successfully (and do something!) Pull Request resolved: https://github.com/facebook/rocksdb/pull/6846 Reviewed By: ajkr Differential Revision: D21576032 fbshipit-source-id: b089cde0d598137b572aa8527cc5459085252af7 --- tools/sst_dump_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/sst_dump_test.cc b/tools/sst_dump_test.cc index a8a083439..c6dfb0f6e 100644 --- a/tools/sst_dump_test.cc +++ b/tools/sst_dump_test.cc @@ -22,7 +22,7 @@ namespace ROCKSDB_NAMESPACE { -const uint32_t kOptLength = 100; +const uint32_t kOptLength = 1024; namespace { static std::string MakeKey(int i) {