diff --git a/pkg/storage/unified/testing/storage_backend.go b/pkg/storage/unified/testing/storage_backend.go index e6e831dabc3..df2b2f5833f 100644 --- a/pkg/storage/unified/testing/storage_backend.go +++ b/pkg/storage/unified/testing/storage_backend.go @@ -882,7 +882,7 @@ func runTestIntegrationBackendListHistoryErrorReporting(t *testing.T, backend re }, } - shortContext, cancel := context.WithTimeout(ctx, 1*time.Millisecond) + shortContext, cancel := context.WithTimeout(ctx, 1*time.Microsecond) defer cancel() res, err := server.List(shortContext, req) @@ -890,6 +890,7 @@ func runTestIntegrationBackendListHistoryErrorReporting(t *testing.T, backend re t.Log("list error:", err) if res != nil { t.Log("iterator error:", res.Error) + t.Log("numItems:", len(res.Items)) } require.True(t, err != nil || (res != nil && res.Error != nil)) }