Skip to content

Commit

Permalink
update tests logging
Browse files Browse the repository at this point in the history
  • Loading branch information
pinikomarov committed Oct 8, 2023
1 parent bb6451d commit 2a1436c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/functional/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,24 +157,21 @@ var _ = BeforeSuite(func() {
Client: k8sManager.GetClient(),
Scheme: k8sManager.GetScheme(),
Kclient: kclient,
Log: ctrl.Log.WithName("controllers").WithName("Heat"),
}).SetupWithManager(k8sManager)
}).SetupWithManager(k8sManager, context.Background())
Expect(err).ToNot(HaveOccurred())

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

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

go func() {
Expand Down

0 comments on commit 2a1436c

Please sign in to comment.