Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetrov117 committed Oct 29, 2024
1 parent 9823e1b commit 9f4be5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/upgrade/os_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func TestOSWorkerPlan(t *testing.T) {
assert.Equal(t, []string{"sh", "/run/system-upgrade/secrets/some-secret/os-upgrade.sh"}, upgradeContainer.Args)

assert.Equal(t, "3.1.0", upgradePlan.Spec.Version)
assert.EqualValues(t, 2, upgradePlan.Spec.Concurrency)
assert.EqualValues(t, 1, upgradePlan.Spec.Concurrency)
assert.EqualValues(t, 43200, upgradePlan.Spec.JobActiveDeadlineSecs)
assert.True(t, upgradePlan.Spec.Cordon)

Expand Down

0 comments on commit 9f4be5b

Please sign in to comment.