Skip to content

Commit

Permalink
4
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukang-Lian committed Nov 11, 2024
1 parent 048ba4b commit 13c89ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloud/test/meta_service_http_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ TEST(MetaServiceHttpTest, get_stage_response_sk) {

auto bar = [](auto args) {
std::cout << *try_any_cast<std::string*>(args[0]);

EXPECT_TRUE((*try_any_cast<std::string*>(args[0])).find("stage-sk") == std::string::npos);
EXPECT_TRUE((*try_any_cast<std::string*>(args[0]))
.find("md5: f497d053066fa4b7d3b1f6564597d233") != std::string::npos);
Expand Down Expand Up @@ -1524,8 +1524,8 @@ TEST(MetaServiceHttpTest, get_obj_store_info_response_sk) {

EXPECT_TRUE((*try_any_cast<std::string*>(args[0])).find("obj-store-info-sk2") ==
std::string::npos);
EXPECT_TRUE((*try_any_cast<std::string*>(args[0])).find("md5: 01d7473ae201a2ecdf1f7c064eb81a95") !=
std::string::npos);
EXPECT_TRUE((*try_any_cast<std::string*>(args[0]))
.find("md5: 01d7473ae201a2ecdf1f7c064eb81a95") != std::string::npos);
};
sp->set_call_back("sk_finish_rpc", bar);

Expand Down

0 comments on commit 13c89ed

Please sign in to comment.