Skip to content

Commit

Permalink
use k8sClient from client.New in controller test (#898)
Browse files Browse the repository at this point in the history
Relieve flakiness.
  • Loading branch information
Yicheng-Lu-llll authored Feb 8, 2023
1 parent abd95d7 commit 2fa40fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ray-operator/controllers/ray/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ var _ = BeforeSuite(func(done Done) {
err = mgr.Start(ctrl.SetupSignalHandler())
Expect(err).ToNot(HaveOccurred())
}()
k8sClient = mgr.GetClient()
Expect(k8sClient).ToNot(BeNil())

close(done)
}, 60)
Expand Down

0 comments on commit 2fa40fb

Please sign in to comment.