apache / trafficserver

Apache Traffic Serverâ„¢ is a fast, scalable and extensible HTTP/1.1 and HTTP/2 compliant caching proxy server.
https://trafficserver.apache.org/
Apache License 2.0
1.8k stars 798 forks source link

Autest for static hit plugin fails on release build #11403

Closed maskit closed 3 months ago

maskit commented 4 months ago

The test expects that "ERROR" is not contained in diags.log, which is fine. However, the test fails if the plugin is built without DEBUG flag, because its debug logs become error logs if the plugin is built without DEBUG flag. https://github.com/apache/trafficserver/blob/c186de2784dd86f20316a42d2a6ffcaa245ef4de/plugins/statichit/statichit.cc#L51-L55