errors.log is written by the logging QueueListener thread, so the file can lag the caplog records the test just asserted on. On a loaded runner the read saw only the first warning, or no file at all, and failed main CI after #144257. Drain the queue with hermes_logging.flush_log_queue() first, like the other log-file tests do. Hammered 24 runs each: origin/main 4 failures, this change 0.