Skip to content

Commit

Permalink
Do not wait for deletion of test RGs
Browse files Browse the repository at this point in the history
  • Loading branch information
janboll committed Dec 5, 2024
1 parent 5cdc40c commit ecf421a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tooling/templatize/internal/end2end/e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,8 @@ func (e *e2eImpl) UseRandomRG() func() error {
if err != nil {
return err
}
rgDelResponse, err := rgClient.BeginDelete(context.Background(), e.rgName, nil)
if err != nil {
return err
}
_, err = rgDelResponse.PollUntilDone(context.Background(), nil)
if err != nil {
return err
}
return nil
_, err = rgClient.BeginDelete(context.Background(), e.rgName, nil)
return err
}
}

Expand Down

0 comments on commit ecf421a

Please sign in to comment.