[exim-cvs] Testsuite: munge for timing variance

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Testsuite: munge for timing variance
Gitweb: https://git.exim.org/exim.git/commitdiff/b6d5e1ac6a49f39b79827a1fa5dd4a0d8e6bd9a9
Commit:     b6d5e1ac6a49f39b79827a1fa5dd4a0d8e6bd9a9
Parent:     3a2feed81419853e1288bd63b7887363a0c267b7
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Sep 8 18:16:02 2019 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Sep 8 18:16:02 2019 +0100


    Testsuite: munge for timing variance
---
 test/runtest | 3 +++
 1 file changed, 3 insertions(+)


diff --git a/test/runtest b/test/runtest
index b369d59..aadd0f1 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1161,6 +1161,9 @@ RESET_AFTER_EXTRA_LINE_READ:
     # Platform-dependent resolver option bits
     s/^ (?:writing|update) neg-cache entry for [^,]+-\K[0-9a-f]+, ttl/xxxx, ttl/;


+    # timing variance, run-to-run
+    s/^time on queue = \K1s/0s/;
+
     # Skip hosts_require_dane checks when the options
     # are unset, because dane ain't always there.
     next if /in\shosts_require_dane\?\sno\s\(option\sunset\)/x;