This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new a1c0e7d3a5 Coverity 1528674: Uncaught exception in 
test_MIOBufferWriter's _ink_assert (#10912)
a1c0e7d3a5 is described below

commit a1c0e7d3a53fb1f974fdc3b4f8f02f3afdd70ff9
Author: Bryan Call <bc...@apache.org>
AuthorDate: Fri Dec 8 10:19:25 2023 -0800

    Coverity 1528674: Uncaught exception in test_MIOBufferWriter's _ink_assert 
(#10912)
---
 src/iocore/eventsystem/unit_tests/test_MIOBufferWriter.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/iocore/eventsystem/unit_tests/test_MIOBufferWriter.cc 
b/src/iocore/eventsystem/unit_tests/test_MIOBufferWriter.cc
index 0e480d885d..9da47c3ff5 100644
--- a/src/iocore/eventsystem/unit_tests/test_MIOBufferWriter.cc
+++ b/src/iocore/eventsystem/unit_tests/test_MIOBufferWriter.cc
@@ -196,5 +196,7 @@ TEST_CASE("MIOBufferWriter", "[MIOBW]")
 void
 _ink_assert(const char *a, const char *f, int l)
 {
+  // Coverity is confused and thinks this _ink_assert is the one used in 
traffic_server
+  // coverity[UNCAUGHT_EXCEPT:FALSE]
   throw InkAssertExcept();
 }

Reply via email to