Skip to content

Commit

Permalink
Remove useless comment (#758)
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Cesbron <[email protected]>
  • Loading branch information
MathieuCesbron authored Jan 23, 2024
1 parent 2e1ba97 commit 3e6fcb9
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions controllers/redissentinel_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,6 @@ var _ = Describe("Redis sentinel test", func() {

Context("When creating a redis sentinel CR", func() {
It("should create a statefulset", func() {

// Eventually(func() int {
// list := &appsv1.StatefulSetList{}
// // list := &redisv1beta2.RedisClusterList{}
// // list := &corev1.PodList{}
// // list := &corev1.ServiceList{}

// err := k8sClient.List(context.TODO(), list)
// if err != nil {
// return -1
// }
// for _, v := range list.Items {
// fmt.Println(v.Name)
// }
// return len(list.Items)
// }, timeout, interval).Should(Equal(3))

sts := &appsv1.StatefulSet{}
Eventually(func() error {
return k8sClient.Get(context.TODO(), types.NamespacedName{
Expand Down

0 comments on commit 3e6fcb9

Please sign in to comment.