• k8s-merge-robot's avatar
    Merge pull request #29215 from ericchiang/http-probe-checker-test-dont-sr-compare-errors · c09956e1
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    pkg/probe/http: don't compare error strings in tests
    
    TestHTTPProbeChecker fails on the Go1.7 release candidates. The
    package's history show that this was the case for Go1.5 and Go1.6
    as well.
    
    The test depend on errors holding specific string values, behavior
    not guarenteed in the standard library API, and causing new test
    failures every minor Go release. Just look for an error rather than
    trying to inspect it using string comparison. If we feel this
    impacts coverage we can add more test cases.
    
    Fixes #15952
    c09956e1
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api/swagger-spec Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
release Loading commit data...
test Loading commit data...
third_party Loading commit data...
vendor Loading commit data...
www Loading commit data...
.generated_docs Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
code-of-conduct.md Loading commit data...