bryancall opened a new pull request, #14081: URL: https://github.com/apache/trafficserver/pull/14081
test_MIOBufferWriter replaces `_ink_assert()` with one that throws, so `REQUIRE_THROWS_AS` can check that MIOBufferWriter asserts. Coverity analyzes all programs as one, picks that definition for `ink_assert()` in traffic_server too, and reports every destructor or entry point that can reach an assert as letting `InkAssertExcept` escape. The existing suppression on the throw only covered the throw itself. Coverity compiles the test but never runs it, so under `__COVERITY__` the override now calls `std::abort()`. Normal builds and the test are unchanged. If the next scan shows those reports gone, a follow-up will remove four `UNCAUGHT_EXCEPT` suppressions whose comments name this throwing definition (test_RemapRulesYaml.cc, cache unit_tests main.h twice, CacheTestHandler.h). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
