Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-zhuang committed Sep 10, 2020
1 parent 0ff4d81 commit 64d42fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/db_compaction_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5435,7 +5435,7 @@ TEST_P(DBCompactionTestWithParam,
}
}

TEST_P(DBCompactionTestWithBottommostParam, ManualCompaction) {
TEST_P(DBCompactionTestWithBottommostParam, SequenceKeysManualCompaction) {
constexpr int kSstNum = 10;
Options options = CurrentOptions();
options.disable_auto_compactions = true;
Expand All @@ -5445,7 +5445,7 @@ TEST_P(DBCompactionTestWithBottommostParam, ManualCompaction) {
for (int i = 0; i < kSstNum; i++) {
for (int j = 1; j < UCHAR_MAX; j++) {
auto key = std::string(kSstNum, '\0');
key[kSstNum - i] += j;
key[kSstNum - i] += static_cast<char>(j);
Put(key, std::string(i % 1000, 'A'));
}
ASSERT_OK(Flush());
Expand Down

0 comments on commit 64d42fd

Please sign in to comment.