Skip to content

Commit

Permalink
Replace assertions with Gomega's matcher library
Browse files Browse the repository at this point in the history
  • Loading branch information
harishsurf committed Oct 28, 2020
1 parent 0e65642 commit 5cbcc3a
Show file tree
Hide file tree
Showing 6 changed files with 419 additions and 470 deletions.
4 changes: 2 additions & 2 deletions test/e2e/catalog_e2e_test.go
Expand Up @@ -159,7 +159,7 @@ var _ = Describe("Catalog", func() {
_, err = crc.OperatorsV1alpha1().InstallPlans(testNamespace).Update(context.TODO(), fetchedInstallPlan, metav1.UpdateOptions{})
require.NoError(GinkgoT(), err)

_, err = awaitCSV(GinkgoT(), crc, testNamespace, mainCSV.GetName(), csvSucceededChecker)
_, err = awaitCSV(crc, testNamespace, mainCSV.GetName(), csvSucceededChecker)
require.NoError(GinkgoT(), err)

// Update manifest
Expand Down Expand Up @@ -504,7 +504,7 @@ var _ = Describe("Catalog", func() {
require.NoError(GinkgoT(), err)

// Wait for the replacement CSV to be installed
_, err = awaitCSV(GinkgoT(), crc, testNamespace, replacementCSV.GetName(), csvSucceededChecker)
_, err = awaitCSV(crc, testNamespace, replacementCSV.GetName(), csvSucceededChecker)
require.NoError(GinkgoT(), err)
})

Expand Down

0 comments on commit 5cbcc3a

Please sign in to comment.