diff --git a/providertests/recorder_test.go b/providertests/recorder_test.go index 0ff64571e5a0a0e658c5c89821b1084b4abb9def..f1710e7cd6b9867ad1deab70f86240a103f3c5b3 100644 --- a/providertests/recorder_test.go +++ b/providertests/recorder_test.go @@ -19,6 +19,7 @@ func newRecorder(t *testing.T) *recorder.Recorder { cassetteName, recorder.WithMode(recorder.ModeRecordOnce), recorder.WithMatcher(customMatcher(t)), + recorder.WithSkipRequestLatency(true), // disable sleep to simulate response time, makes tests faster recorder.WithHook(hookRemoveHeaders, recorder.AfterCaptureHook), ) if err != nil {