test: Add another variant of API timeout to skip when benchmarking
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user