This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository terminology.

View the commit online.

commit a8bf5ab4521c5e5e2ab925a0e944eeaa83ab835f
Author: Cedric BAIL <[email protected]>
AuthorDate: Fri Nov 20 13:07:37 2026 -0600

    tests: wait for tymuxd to exit with its shell
    
    The check looked for the daemon once, right after the client got the
    exit status. Under AddressSanitizer the leak report at exit takes about
    120 ms, so the daemon was still there and the check failed. Poll for up
    to five seconds instead.
---
 tests/tymux.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/tymux.py b/tests/tymux.py
index 7d6f26db..382a670a 100644
--- a/tests/tymux.py
+++ b/tests/tymux.py
@@ -304,6 +304,10 @@ def main():
     check(a.expect("$ "), "new after kill")
     a.send("exit 3\r")
     check(a.wait() == 3, "the exit status of the shell is returned")
+    # under a sanitizer the leak report at exit delays the daemon's end
+    end = time.time() + 5
+    while daemons() and time.time() < end:
+        time.sleep(0.05)
     check(not daemons(), "tymuxd exits with its shell")
 
     # a client that stops reading is dropped instead of blocking tymuxd

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to