Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
rphillips committed Apr 3, 2024
1 parent 89a0a83 commit 49a7168
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/monitortests/node/kubeletselinuxlabels/monitortest.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ func (lw *selinuxLabelWatcher) StartCollection(ctx context.Context, adminRESTCon
}
lw.kubeClient = kubeClient

oc := exutil.NewCLI("node-selinux-label-test").AsAdmin()
if err := exutil.WaitForOpenShiftNamespaceImageStreams(oc); err != nil {
return err
}

wait.PollUntilContextTimeout(ctx, 5*time.Second, 120*time.Second, true, func(ctx context.Context) (bool, error) {
nodes, err := lw.kubeClient.CoreV1().Nodes().List(ctx, v1.ListOptions{})
if err != nil {
Expand Down

0 comments on commit 49a7168

Please sign in to comment.