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:
@@ -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" ]
|
||||
|
||||
@@ -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@@";
|
||||
|
||||
Reference in New Issue
Block a user