test: Add another variant of API timeout to skip when benchmarking
This commit is contained in:
parent
e73631c5f0
commit
e187a5f5cb
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue