Skip to content

Commit

Permalink
update test logging
Browse files Browse the repository at this point in the history
  • Loading branch information
pinikomarov committed Oct 8, 2023
1 parent 1b9f133 commit ffeec05
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tests/functional/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ var _ = BeforeSuite(func() {
Client: k8sManager.GetClient(),
Scheme: k8sManager.GetScheme(),
Kclient: kclient,
Log: ctrl.Log.WithName("controllers").WithName("Manila"),
}).SetupWithManager(k8sManager)
}).SetupWithManager(k8sManager, context.Background())

Expect(err).ToNot(HaveOccurred())

Expand All @@ -196,24 +195,21 @@ var _ = BeforeSuite(func() {
Client: k8sManager.GetClient(),
Scheme: k8sManager.GetScheme(),
Kclient: kclient,
Log: ctrl.Log.WithName("controllers").WithName("ManilaAPI"),
}).SetupWithManager(k8sManager)
}).SetupWithManager(k8sManager, context.Background())
Expect(err).ToNot(HaveOccurred())

err = (&controllers.ManilaSchedulerReconciler{
Client: k8sManager.GetClient(),
Scheme: k8sManager.GetScheme(),
Kclient: kclient,
Log: ctrl.Log.WithName("controllers").WithName("ManilaScheduler"),
}).SetupWithManager(k8sManager)
}).SetupWithManager(k8sManager, context.Background())
Expect(err).ToNot(HaveOccurred())

err = (&controllers.ManilaShareReconciler{
Client: k8sManager.GetClient(),
Scheme: k8sManager.GetScheme(),
Kclient: kclient,
Log: ctrl.Log.WithName("controllers").WithName("ManilaShare"),
}).SetupWithManager(k8sManager)
}).SetupWithManager(k8sManager, context.Background())
Expect(err).ToNot(HaveOccurred())

go func() {
Expand Down

0 comments on commit ffeec05

Please sign in to comment.