diff options
| author | robot-piglet <[email protected]> | 2024-10-26 14:44:01 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2024-10-26 14:56:30 +0300 |
| commit | 939beab49e2c694a55e8fbab276cbd9a01aa412e (patch) | |
| tree | 367e9bc922a3251857c9e07fea934059d82b722f | |
| parent | 3ff401d806ef61594cabd6d26cbbd7d6a72845b9 (diff) | |
Intermediate changes
commit_hash:a338ffbfd06700944e3188154090ec4fadf9fd0c
| -rw-r--r-- | yt/yt/client/federated/unittests/client_ut.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/yt/yt/client/federated/unittests/client_ut.cpp b/yt/yt/client/federated/unittests/client_ut.cpp index 091fed3b650..54ec11d6cb4 100644 --- a/yt/yt/client/federated/unittests/client_ut.cpp +++ b/yt/yt/client/federated/unittests/client_ut.cpp @@ -20,6 +20,7 @@ namespace { using namespace NYT::NApi; using ::testing::_; +using ::testing::AnyNumber; using ::testing::Return; using ::testing::StrictMock; @@ -173,7 +174,8 @@ TEST(TFederatedClientTest, CheckHealth) auto mockClientSas = New<TStrictMockClient>(); auto mockClientVla = New<TStrictMockClient>(); - EXPECT_CALL(*mockClientVla, GetClusterName(_)); + EXPECT_CALL(*mockClientVla, GetClusterName(_)) + .Times(AnyNumber()); // To identify best (closest) cluster. NYson::TYsonString listResult1(TStringBuf(R"(["a-rpc-proxy-a.sas.yp-c.yandex.net:9013"])")); |
