Skip to content

Commit

Permalink
Unit tests: Disable stuck tests in db_compaction_test (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuval-Ariel authored Oct 15, 2023
1 parent 877f2a5 commit bedf640
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Fix RepeatableThread to work properly with on thread start callback feature (htt
* Fix a JAVA build issue introduced by #597 (#680)

### Miscellaneous
* Unit tests: Disable CancelCompactionWaitingOnConflict and CompactionLimiter in db_compaction_test since they sometimes fail or get stuck. These need to be investigated and reenabled.

## Grapes v2.6.0 (8/22/2023)
Based on RocksDB 8.1.1
Expand Down
5 changes: 3 additions & 2 deletions db/db_compaction_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3913,7 +3913,8 @@ TEST_P(DBCompactionTestWithParam, FullCompactionInBottomPriThreadPool) {
Env::Default()->SetBackgroundThreads(0, Env::Priority::BOTTOM);
}

TEST_P(DBCompactionTestWithParamWithMCC, CancelCompactionWaitingOnConflict) {
TEST_P(DBCompactionTestWithParamWithMCC,
DISABLED_CancelCompactionWaitingOnConflict) {
// This test verifies cancellation of a compaction waiting to be scheduled due
// to conflict with a running compaction.
//
Expand Down Expand Up @@ -5720,7 +5721,7 @@ TEST_F(DBCompactionTest, CompactionHasEmptyOutput) {
ASSERT_EQ(2, collector->num_ssts_creation_started());
}

TEST_P(DBCompactionTestWithMCC, CompactionLimiter) {
TEST_P(DBCompactionTestWithMCC, DISABLED_CompactionLimiter) {
const int kNumKeysPerFile = 10;
const int kMaxBackgroundThreads = 64;

Expand Down

0 comments on commit bedf640

Please sign in to comment.