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
Add trace_analyzer_test to ASSERT_STATUS_CHECKED list #7480
Conversation
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.
@zhichao-cao has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@@ -1428,7 +1429,7 @@ Status TraceAnalyzer::OpenStatsOutputFiles(const std::string& type, | |||
&new_stats.a_qps_f); | |||
} | |||
|
|||
return Status::OK(); | |||
return s; |
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.
That entire method is kind of screwy. It keeps calling Open over and over again and never checking the Status. Of course, if the status was not OK, the program will exit. I am not sure what is best to do here.
4aa9836
to
248991f
Compare
@zhichao-cao has updated the pull request. You must reimport the pull request before landing. |
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.
@zhichao-cao has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@zhichao-cao merged this pull request in 685cabd. |
Summary: Add trace_analyzer_test to ASSERT_STATUS_CHECKED list Pull Request resolved: facebook#7480 Test Plan: ASSERT_STATUS_CHECKED=1 make -j48 trace_analyzer_test Reviewed By: riversand963 Differential Revision: D24033768 Pulled By: zhichao-cao fbshipit-source-id: b415045e6fab01d6193448650772368c21c6dba6
summary: Add trace_analyzer_test to ASSERT_STATUS_CHECKED list
test plan: ASSERT_STATUS_CHECKED=1 make -j48 trace_analyzer_test