Skip to content

Commit

Permalink
refactor unit tests (#760)
Browse files Browse the repository at this point in the history
Co-authored-by: Adnan Baruni <[email protected]>
  • Loading branch information
abaruni and Adnan Baruni authored Oct 23, 2024
1 parent f0842aa commit 38b38ba
Show file tree
Hide file tree
Showing 3 changed files with 984 additions and 955 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func intgTestsReconcile() {
})
})

When("ValidatingWebhookConfiguration is updated", func() {
When("ValidatingWebhookConfiguration is updated", FlakeAttempts(5), func() {

BeforeEach(func() {
// Create ValidatingWebhookConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var suite = builder.NewTestSuiteForValidatingWebhookWithContext(
"vmservice.cns.vsphere.vmware.com")

func TestWebhook(t *testing.T) {
suite.Register(t, "Validation webhook suite", intgTests, nil)
suite.Register(t, "Validation webhook suite", intgTests, unitTests)
}

var _ = BeforeSuite(suite.BeforeSuite)
Expand Down
Loading

0 comments on commit 38b38ba

Please sign in to comment.