test: Add another variant of API timeout to skip when benchmarking

This commit is contained in:
Jakob Borg 2018-05-30 13:23:52 +02:00
parent e73631c5f0
commit e187a5f5cb

View File

@ -506,7 +506,8 @@ func isTimeout(err error) bool {
return false
}
return strings.Contains(err.Error(), "use of closed network connection") ||
strings.Contains(err.Error(), "request canceled while waiting")
strings.Contains(err.Error(), "request canceled while waiting") ||
strings.Contains(err.Error(), "operation timed out")
}
func getTestName() string {