shashankbhatgs commented on PR #14010:
URL: https://github.com/apache/trafficserver/pull/14010#issuecomment-7065665474
Thanks for catching the stats_over_http check. I've pushed 2e26a04:
- **stats_over_http:** `check_task_thread_renders` now anchors on the ISO
stamp, as you suggested. I repeated your check locally: with one render line
changed to `[ET_NET 1]` appended before the assertion, the test fails with
"should render the stats only on a task thread", and without it the test passes.
- **tm_year overflow:** `format_iso8601_utc` now compares `utc.tm_year`
against `-1900` and `9999 - 1900` before adding 1900. I added a test with a
`time_t` that `gmtime_r` accepts with a `tm_year` of `INT_MAX - 100`, so the
overflow case is exercised directly.
- **Sub-millisecond truncation:** Added a case for
`system_clock::time_point{microseconds{999'999}}`, which must give
`1970-01-01T00:00:00.999Z`.
Locally on macOS, the tsutil unit tests and the stats_over_http and
`connect_down_policy` Uranium tests all pass.
--
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]