]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix sumdb test failure with misbehaving DNS server
authorJay Conrod <jayconrod@google.com>
Tue, 18 Jun 2019 19:31:18 +0000 (15:31 -0400)
committerJay Conrod <jayconrod@google.com>
Tue, 18 Jun 2019 20:32:15 +0000 (20:32 +0000)
commit2ba9f7c24559c0b024902029489062f239e8fcad
tree53bba17c04b97f2bde01feb4accd32993a5a53da
parentcb0f0d6cf1f3bc5bf629d04272756192bbf8db7a
cmd/go: fix sumdb test failure with misbehaving DNS server

Broadened the regular expression used to test error messages for
failing to connect to "localhost.localdev/sumdb". Some DNS servers
resolve unknown domains like "localhost.localdev" to real IP addresses
to serve ads. We may get a variety of error messages.

Fixes #31779

Change-Id: Ib389c633c9a9f70f8e89bbcba5282a375da4e708
Reviewed-on: https://go-review.googlesource.com/c/go/+/182799
Run-TryBot: Jay Conrod <jayconrod@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/testdata/script/mod_sumdb_proxy.txt