Skip to content

Commit

Permalink
pppppp
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoxi Chen <[email protected]>
  • Loading branch information
xiaoxichen committed Apr 9, 2024
1 parent 8b3c7f6 commit a72c3bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/homestore_backend/tests/homeobj_fixture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ class HomeObjectFixture : public ::testing::Test {

retry:
auto b = _obj_inst->blob_manager()->put(shard_id, std::move(put_blob)).get();
LOGERROR("result of put blob {}", b);
LOGERROR("result of put blob error {}", b.error());
if (!b && b.error() == BlobError::NOT_LEADER) {
LOGINFO("Failed to put blob due to not leader, sleep 1s and retry put", pg_id, shard_id);
std::this_thread::sleep_for(1s);
Expand Down
1 change: 1 addition & 0 deletions src/lib/homestore_backend/tests/hs_blob_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ TEST_F(HomeObjectFixture, BasicPutGetDelBlobWRestart) {
// Put blob after restart to test the persistance of blob sequence number
put_blob(blob_map, pg_shard_id_vec, num_blobs_per_shard, max_blob_size);

LOGERROR("After put blob.");
// Verify all get blobs with random offset and length.
verify_get_blob(blob_map, true /* use_random_offset */);

Expand Down

0 comments on commit a72c3bb

Please sign in to comment.