Remove production waits from deterministic tests
This commit is contained in:
@@ -242,6 +242,7 @@ func TestUploadPollsUntilTerminalStatus(t *testing.T) {
|
||||
},
|
||||
}
|
||||
client := newClient(cfg, factory.newClient)
|
||||
client.pollWait = func(context.Context, time.Duration) error { return nil }
|
||||
|
||||
result, err := client.Upload(context.Background(), validUploadRequest())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user