aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/ChangeLog6
-rw-r--r--test/timeout.awk2
-rw-r--r--test/timeout.ok1
3 files changed, 7 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 5b6fd3b6..173832d7 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
+2019-02-17 Andrew J. Schorr <aschorr@telemetry-investments.com>
+
+ * timeout.awk, timeout.ok: Increase READ_TIMEOUT to 400 to increase
+ the scheduler margin of error from 100 ms to 200 ms to reduce the
+ likelihood of spurious test failures.
+
2019-02-15 Arnold D. Robbins <arnold@skeeve.com>
* profile11.ok: Updated after code fix.
diff --git a/test/timeout.awk b/test/timeout.awk
index ccf4537d..ba6d87b2 100644
--- a/test/timeout.awk
+++ b/test/timeout.awk
@@ -2,7 +2,7 @@ BEGIN {
cmd = "echo hello; sleep 1; echo goodbye"
print "With timeouts"
- PROCINFO[cmd, "READ_TIMEOUT"] = 300
+ PROCINFO[cmd, "READ_TIMEOUT"] = 400
while ((rc = (cmd | getline x)) > 0)
print x
if (rc < 0)
diff --git a/test/timeout.ok b/test/timeout.ok
index a388747b..f1d791b1 100644
--- a/test/timeout.ok
+++ b/test/timeout.ok
@@ -7,6 +7,5 @@ With timeouts and retries
hello
1 timed out; trying again
2 timed out; trying again
-3 timed out; trying again
goodbye
0