Permalink
Browse files

Updating timeout delays to be a little more forgiving during tests

  • Loading branch information...
1 parent 806fcfd commit f34cedc3c9c709beb4032bb27772f4ed5421e65f @davidjb davidjb committed Aug 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 qa/298-Timeout.py
View
@@ -71,7 +71,7 @@ def JustBefore (self, www):
# Instant return and 1 second less than timeout should work,
# but past the timeout should return no content.
for dir, timeout in ((DIR, SERVER_TIMEOUT), (DIR_RULE, RULE_TIMEOUT)):
- for script_runtime in (0, timeout-1, timeout+1):
+ for script_runtime in (0, timeout-2, timeout+2):
# Write the new script files
filename = 'test-%i-seconds.cgi' % script_runtime
code = CGI_CODE % dict(runtime=script_runtime, content=CONTENT)

0 comments on commit f34cedc

Please sign in to comment.