Skip to content

Commit

Permalink
refactor: Use client.Client in integration test (#469)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
  • Loading branch information
danielpacak committed Apr 1, 2021
1 parent f53705a commit fa27379
Show file tree
Hide file tree
Showing 3 changed files with 407 additions and 302 deletions.
2 changes: 1 addition & 1 deletion itest/starboard-operator/starboard_operator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ var _ = Describe("Starboard Operator", func() {

Describe("When operator is started", func() {

It("Should scan all nodes with CIS Kubernetes Benchmark checks", func() {
It("Should create CISKubeBenchReports", func() {
nodeList, err := kubeClientset.CoreV1().Nodes().List(context.Background(), metav1.ListOptions{})
Expect(err).ToNot(HaveOccurred())
for _, node := range nodeList.Items {
Expand Down
Loading

0 comments on commit fa27379

Please sign in to comment.