Skip to content

Commit

Permalink
charles feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
gracewilcox committed Sep 20, 2024
1 parent 7bcc251 commit fbe61b7
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions sdk/security/keyvault/azadmin/backup/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ func TestBackupRestore(t *testing.T) {
// if in live mode, wait 30 seconds before polling again
// in playback mode, we don't need that delay, so shortening the retry frequency
var frequency time.Duration
if recording.GetRecordMode() != recording.PlaybackMode {
frequency = time.Second * 30
} else {
if recording.GetRecordMode() == recording.PlaybackMode {
frequency = time.Second
}

Expand Down Expand Up @@ -78,9 +76,7 @@ func TestBackupRestoreWithResumeToken(t *testing.T) {
// if in live mode, wait 30 seconds before polling again
// in playback mode, we don't need that delay, so shortening the retry frequency
var frequency time.Duration
if recording.GetRecordMode() != recording.PlaybackMode {
frequency = time.Second * 30
} else {
if recording.GetRecordMode() == recording.PlaybackMode {
frequency = time.Second
}

Expand Down Expand Up @@ -141,9 +137,7 @@ func TestBeginSelectiveKeyRestoreOperation(t *testing.T) {
// if in live mode, wait 30 seconds before polling again
// in playback mode, we don't need that delay, so shortening the retry frequency
var frequency time.Duration
if recording.GetRecordMode() != recording.PlaybackMode {
frequency = time.Second * 30
} else {
if recording.GetRecordMode() == recording.PlaybackMode {
frequency = time.Second
}

Expand Down

0 comments on commit fbe61b7

Please sign in to comment.