Skip to content

Commit

Permalink
refine
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonYao287 committed Oct 26, 2024
1 parent 3cf48da commit 07f81ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/homestore_backend/tests/homeobj_fixture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ class HomeObjectFixture : public ::testing::Test {
HomeObjectFixture() : rand_blob_size{1u, 16 * 1024}, rand_user_key_size{1u, 1024} {}

void SetUp() override {
g_helper->sync();
_obj_inst = std::dynamic_pointer_cast< HSHomeObject >(g_helper->build_new_homeobject());
// wait for leader to be elected
std::this_thread::sleep_for(std::chrono::seconds(5));
g_helper->sync();
}

void TearDown() override {
Expand Down

0 comments on commit 07f81ae

Please sign in to comment.