Skip to content

Commit

Permalink
fix the test for 1.28
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Vasilev <[email protected]>
  • Loading branch information
Omrigan committed Jul 26, 2024
1 parent b6b3193 commit 9aedfda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neonvm/controllers/vm_controller_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,9 @@ func TestRunningPod(t *testing.T) {
prettyPrint(t, pod)

pod.Status.Phase = corev1.PodRunning
err = params.client.Update(params.ctx, &pod)
err = params.client.Status().Update(params.ctx, &pod)
require.NoError(t, err)
assert.Equal(t, runnerRunning, runnerStatus(&pod))

// Round 2
res, err = params.r.Reconcile(params.ctx, req)
Expand Down

0 comments on commit 9aedfda

Please sign in to comment.