Skip to content

Commit

Permalink
Skip RequeueState testing on reactivation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbobrovskyi committed May 3, 2024
1 parent de69925 commit c1fa647
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controller/core/workload_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ func TestReconcile(t *testing.T) {
Reason: kueue.WorkloadEvictedByDeactivation,
Message: "The workload is deactivated",
}).
// The fake test not allow to save state with nil values when updating by Patch/Apply. So we are skipping this case.
//RequeueState(ptr.To[int32](4), ptr.To(metav1.NewTime(testStartTime.Truncate(time.Second)))).
Obj(),
wantWorkload: utiltesting.MakeWorkload("wl", "ns").
Active(true).
Expand Down

0 comments on commit c1fa647

Please sign in to comment.