-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cli percentile column fit #354
Conversation
Fixes envoyproxy#352 Signed-off-by: Otto van der Schaaf <[email protected]>
Signed-off-by: Otto van der Schaaf <[email protected]>
test/output_formatter_test.cc
Outdated
@@ -192,6 +192,13 @@ TEST_F(MediumOutputCollectorTest, FortioFormatter) { | |||
"test/test_data/output_formatter.medium.fortio.gold"); | |||
} | |||
|
|||
TEST_F(MediumOutputCollectorTest, ConsoleOutputFormatter) { | |||
const auto input_proto = loadProtoFromFile("test/test_data/large-sample.json"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any way we can minimize this testdata file so that it only contains the minimum possible for the test to make sense? It is generally easy to add testdata files by just copying some actual production file, but it tends to hurt on maintenance as other test maintainers don't know which portion of the file is relevant to the intention of the test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, good point, that was suboptimal. I pushed 0711c15 to improve, which makes this specific to the problem I'm trying to address here.
Signed-off-by: Otto van der Schaaf <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for minimizing the testdata.
Fixes #352
Signed-off-by: Otto van der Schaaf [email protected]