github-actions[bot] commented on code in PR #43544: URL: https://github.com/apache/doris/pull/43544#discussion_r1836856777
########## cloud/test/meta_service_http_test.cpp: ########## @@ -1456,4 +1456,45 @@ TEST(MetaServiceHttpTest, TxnLazyCommit) { } } +TEST(MetaServiceHttpTest, stage_sk_response) { + auto sp = SyncPoint::get_instance(); + sp->enable_processing(); + std::cout << "2"; + std::unique_ptr<int, std::function<void(int*)>> defer((int*)0x01, + [&](...) { sp->disable_processing(); }); Review Comment: warning: 'auto sp' can be declared as 'auto *sp' [readability-qualified-auto] ```suggestion d(msg) != std::string::npos);auto * ``` ########## cloud/test/meta_service_http_test.cpp: ########## @@ -1456,4 +1456,83 @@ TEST(MetaServiceHttpTest, TxnLazyCommit) { } } +TEST(MetaServiceHttpTest, get_stage_response_sk) { + auto sp = SyncPoint::get_instance(); + sp->enable_processing(); + std::unique_ptr<int, std::function<void(int*)>> defer((int*)0x01, + [&](...) { sp->disable_processing(); }); + + GetStageResponse res; Review Comment: warning: 'auto sp' can be declared as 'auto *sp' [readability-qualified-auto] ```suggestion e_sk) {auto * ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org