Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: drivebyer <[email protected]>
  • Loading branch information
drivebyer committed Jun 14, 2024
1 parent 28ab264 commit 59c17ac
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,21 +101,24 @@ var _ = BeforeSuite(func() {
}).SetupWithManager(k8sManager)
Expect(err).ToNot(HaveOccurred())

rrLog := ctrl.Log.WithName("controllers").WithName("RedisReplication")
rcLog := ctrl.Log.WithName("controllers").WithName("RedisCluster")
err = (&RedisClusterReconciler{
Client: k8sManager.GetClient(),
K8sClient: k8sClient,
Dk8sClient: dk8sClient,
Scheme: k8sManager.GetScheme(),
StatefulSet: k8sutils.NewStatefulSetService(k8sClient, rrLog),
StatefulSet: k8sutils.NewStatefulSetService(k8sClient, rcLog),
}).SetupWithManager(k8sManager)
Expect(err).ToNot(HaveOccurred())

rrLog := ctrl.Log.WithName("controllers").WithName("RedisReplication")
err = (&RedisReplicationReconciler{
Client: k8sManager.GetClient(),
K8sClient: k8sClient,
Dk8sClient: dk8sClient,
Scheme: k8sManager.GetScheme(),
Client: k8sManager.GetClient(),
K8sClient: k8sClient,
Dk8sClient: dk8sClient,
Scheme: k8sManager.GetScheme(),
StatefulSet: k8sutils.NewStatefulSetService(k8sClient, rrLog),
Pod: k8sutils.NewPodService(k8sClient, rrLog),
}).SetupWithManager(k8sManager)
Expect(err).ToNot(HaveOccurred())

Expand Down

0 comments on commit 59c17ac

Please sign in to comment.