native-fetcher: bump dns timeout to deflake running the tests

Nginx sometimes receives an expected response from 8.8.8.8 when
resolving host names, and the subsequent retry doesn't finish up
in 10 seconds. Bumping the timeout helps, but does not fully
explain why nginx is sometimes receiving an unexpected response.
I'll create a separate issue for investigating that.
This commit is contained in:
Otto van der Schaaf
2015-02-16 11:50:58 +01:00
parent 34341251f6
commit 58b1264745
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1263,6 +1263,7 @@ OUT=$(cat "test/tmp/error.log" \
| grep -v "\\[error\\].*Failed to make directory*" \
| grep -v "\\[error\\].*Could not create directories*" \
| grep -v "\\[error\\].*opening temp file: No such file or directory.*" \
| grep -v "\\[error\\].*unexpected response.*" \
|| true)
check [ -z "$OUT" ]
+1 -1
View File
@@ -40,7 +40,7 @@ http {
pagespeed MessageBufferSize 200000;
# Increase the default fetcher timeout to resolve sporadic flakeyness when
# the native fetcher uses 8.8.8.8 to resolve.
pagespeed FetcherTimeoutMs 10000;
pagespeed FetcherTimeoutMs 30000;
pagespeed NativeFetcherMaxKeepaliveRequests 50;
root "@@SERVER_ROOT@@";