From cb35a39c1bb46bebb3152a6e8520f4e570d2589f Mon Sep 17 00:00:00 2001 From: Electronic-Waste <2690692950@qq.com> Date: Fri, 30 Aug 2024 13:35:54 +0000 Subject: [PATCH] test(trial): add debug log. Signed-off-by: Electronic-Waste <2690692950@qq.com> --- pkg/controller.v1beta1/trial/trial_controller_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/controller.v1beta1/trial/trial_controller_test.go b/pkg/controller.v1beta1/trial/trial_controller_test.go index ffaedb8af8d..0dc76323906 100644 --- a/pkg/controller.v1beta1/trial/trial_controller_test.go +++ b/pkg/controller.v1beta1/trial/trial_controller_test.go @@ -365,6 +365,9 @@ func TestReconcileBatchJob(t *testing.T) { mockManagerClient.EXPECT().DeleteTrialObservationLog(gomock.Any()).Return(nil, nil), ) // Create the Trial with Push MC + testTrial := &trialsv1beta1.Trial{} + c.Get(ctx, trialKey, testTrial) + print(testTrial) trial := newFakeTrialBatchJob(commonv1beta1.PushCollector) g.Expect(c.Create(ctx, trial)).NotTo(gomega.HaveOccurred())