summaryrefslogtreecommitdiff
path: root/services/worker/internal/fetcher/errors_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/worker/internal/fetcher/errors_test.go')
-rw-r--r--services/worker/internal/fetcher/errors_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/worker/internal/fetcher/errors_test.go b/services/worker/internal/fetcher/errors_test.go
index e81251b..5c425aa 100644
--- a/services/worker/internal/fetcher/errors_test.go
+++ b/services/worker/internal/fetcher/errors_test.go
@@ -107,7 +107,9 @@ func TestClassifyTimeoutError(test *testing.T) {
type timeoutErr struct{}
func (timeoutError *timeoutErr) Error() string { return "connection timed out" }
+
func (timeoutError *timeoutErr) Timeout() bool { return true }
+
func (timeoutError *timeoutErr) Temporary() bool { return true }
func TestClassifyNetworkOpError(test *testing.T) {