bryancall commented on PR #13683: URL: https://github.com/apache/trafficserver/pull/13683#issuecomment-6787258798
Thanks for catching that. `<barrier>` first shipped in libstdc++ 11, and the CentOS 7 and Ubuntu 20.04 images build against libstdc++ 10 and 9. I replaced `std::barrier` with a small mutex and condition_variable barrier in the test, so it only needs library features those images have. I built both CI presets in those images, and `test_tsutil` passes on each. While checking that the case still catches what it's meant to on those builds, I found that on the CentOS Release build, a match limit leaking between threads was caught in only 1 of 100 runs. Each round now matches the hit 64 times instead of once, which catches it in every run with no measurable change in runtime. That's in its own commit. -- 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]
