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

bneradt 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 dda4931fba tests: stabilize log-filenames diags check (#12901)
dda4931fba is described below

commit dda4931fba37dd6b816c2fb0f31ae874b177e674
Author: Brian Neradt <[email protected]>
AuthorDate: Fri Feb 20 10:35:12 2026 -0600

    tests: stabilize log-filenames diags check (#12901)
    
    The log-filenames AuTest can be flaky in CI when logs are directed to
    stdout or stderr. The startup message used by the assertion can be
    interleaved with other log output, so an exact match is brittle.
    
    Use an earlier and more stable startup marker from diagnostic logging:
    "logging.yaml finished loading". This still validates that diags
    content is emitted while avoiding the split-line failure mode.
---
 tests/gold_tests/logging/log-filenames.test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gold_tests/logging/log-filenames.test.py 
b/tests/gold_tests/logging/log-filenames.test.py
index 5ec6d6d685..8a7026f5e0 100644
--- a/tests/gold_tests/logging/log-filenames.test.py
+++ b/tests/gold_tests/logging/log-filenames.test.py
@@ -160,7 +160,7 @@ class LogFilenamesTest:
 
         diags_path = self.ts.Disk.diags_log.AbsPath
         self.ts.Disk.diags_log.Content += Testers.ContainsExpression(
-            "Traffic Server is fully initialized", f"{diags_path} should 
contain traffic_server diag messages")
+            "logging.yaml finished loading", f"{diags_path} should contain 
traffic_server diag messages")
 
         error_log_path = self.ts.Disk.error_log.AbsPath
         self.ts.Disk.error_log.Content += Testers.ContainsExpression(

Reply via email to