fix CI tests to work with go 1.6; add another error message that was observed in CI

This commit is contained in:
Josh Humphries
2017-12-13 15:29:08 -05:00
parent 6c05311fb9
commit 91fb94b700
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -126,7 +126,8 @@ func TestBrokenTLS_ClientPlainText(t *testing.T) {
if !strings.Contains(err.Error(), "transport is closing") &&
!strings.Contains(err.Error(), "connection is unavailable") &&
!strings.Contains(err.Error(), "use of closed network connection") &&
!strings.Contains(err.Error(), "all SubConns are in TransientFailure") {
!strings.Contains(err.Error(), "all SubConns are in TransientFailure") &&
!strings.Contains(err.Error(), "deadline exceeded") {
t.Fatalf("expecting transport failure, got: %v", err)
}