Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteYue committed Apr 16, 2024
1 parent a0dec54 commit 179a079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/cloud/injection_point_action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void register_suites() {
pair->second = true;
});
});
suite_map.emplace("test_s3_file_writer", []{
suite_map.emplace("test_s3_file_writer", [] {
auto* sp = SyncPoint::get_instance();
sp->set_call_back("UploadFileBuffer::upload_to_local_file_cache", [](auto&&) {
std::srand(static_cast<unsigned int>(std::time(nullptr)));
Expand All @@ -67,7 +67,7 @@ void register_suites() {
});
});
suite_map.emplace("test_storage_vault", [] {
auto *sp = SyncPoint::get_instance();
auto* sp = SyncPoint::get_instance();
sp->set_call_back("HdfsFileWriter::appendv_delay", [](auto&&) {
std::srand(static_cast<unsigned int>(std::time(nullptr)));
int random_sleep_time_second = std::rand() % 10 + 1;
Expand Down

0 comments on commit 179a079

Please sign in to comment.