Skip to content

Commit

Permalink
Merge with latest master
Browse files Browse the repository at this point in the history
  • Loading branch information
hkadayam committed Sep 21, 2023
1 parent 7c8fb83 commit 74972ee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/tests/test_append_blkalloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@ class AppendBlkAllocatorTest : public testing::Test {
{HS_SERVICE::DATA, {.size_pct = 80.0, .blkalloc_type = homestore::blk_allocator_type_t::append}}});
}

virtual void TearDown() override { test_common::HSTestHelper::shutdown_homestore(); }

void restart_homestore() {
test_common::HSTestHelper::start_homestore(
"test_append_blkalloc",
{{HS_SERVICE::META, {.size_pct = 5.0}},
{HS_SERVICE::DATA, {.size_pct = 80.0, .blkalloc_type = homestore::blk_allocator_type_t::append}}},
nullptr /* before_svc_start_cb */, true /* restart */);
}

void reset_io_job_done() { m_io_job_done = false; }

void finish_and_notify() {
Expand Down

0 comments on commit 74972ee

Please sign in to comment.