Marton Greber has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24475 )

Change subject: KUDU-3785: Fix CLI flag validator failure
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24475/4/src/kudu/tools/kudu-tool-test.cc
File src/kudu/tools/kudu-tool-test.cc:

http://gerrit.cloudera.org:8080/#/c/24475/4/src/kudu/tools/kudu-tool-test.cc@11160
PS4, Line 11160: Edge case:
> nit: While you are at it, maybe add one more test where FLAGS_rpc_max_messa
Not sure if I understand: the scenario you described matches what the latest 
revision added here:

    google::FlagSaver saver;
    ASSERT_NE("", google::SetCommandLineOption(
        "rpc_max_message_size", "52428800"));  // 50MB (the default)
    ASSERT_FALSE(google::GetCommandLineFlagInfoOrDie(
        "rpc_max_message_size").is_default);
    std::shared_ptr<rpc::Messenger> messenger;
    ASSERT_OK(BuildMessenger("test", &messenger));
    ASSERT_EQ(52428800, messenger->rpc_max_message_size());
    messenger->Shutdown();

What do you think?
Thanks!



--
To view, visit http://gerrit.cloudera.org:8080/24475
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idd24ec605bd14ce90ed8a5705230ff96d77d0d64
Gerrit-Change-Number: 24475
Gerrit-PatchSet: 4
Gerrit-Owner: Marton Greber <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>
Gerrit-Comment-Date: Mon, 22 Jun 2026 15:55:32 +0000
Gerrit-HasComments: Yes

Reply via email to