Skip to content

Commit

Permalink
test(trial): add debug log.
Browse files Browse the repository at this point in the history
Signed-off-by: Electronic-Waste <[email protected]>
  • Loading branch information
Electronic-Waste committed Aug 30, 2024
1 parent 541ec26 commit cb35a39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/controller.v1beta1/trial/trial_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit cb35a39

Please sign in to comment.