Skip to content

Commit

Permalink
test/e2e: check errors from polling
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
  • Loading branch information
stevekuznetsov committed Oct 3, 2023
1 parent f7ed5b1 commit 69d0fa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/operator_groups_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1950,6 +1950,7 @@ var _ = Describe("Operator Group", func() {
}
return true, nil
})
require.NoError(GinkgoT(), err)
require.EqualValues(GinkgoT(), append(role.Rules, rbacv1.PolicyRule{
Verbs: []string{"get", "list", "watch"},
APIGroups: []string{""},
Expand All @@ -1966,6 +1967,7 @@ var _ = Describe("Operator Group", func() {
}
return true, nil
})
require.NoError(GinkgoT(), err)
require.EqualValues(GinkgoT(), roleBinding.Subjects, fetchedRoleBinding.Subjects)
require.EqualValues(GinkgoT(), roleBinding.RoleRef.Name, fetchedRoleBinding.RoleRef.Name)
require.EqualValues(GinkgoT(), "rbac.authorization.k8s.io", fetchedRoleBinding.RoleRef.APIGroup)
Expand Down

0 comments on commit 69d0fa3

Please sign in to comment.