fixup! feat: Add support for --wait-retries flag.
add test case for mixing release and defaults Signed-off-by: Connor Hindley <connor.hindley@tanium.com>
This commit is contained in:
parent
5a68e553c5
commit
69d2c7f276
|
|
@ -170,6 +170,14 @@ func TestAppendWaitFlags(t *testing.T) {
|
|||
helmSpec: HelmSpec{Wait: true, WaitRetries: 3},
|
||||
expected: []string{"--wait", "--wait-retries", "3"},
|
||||
},
|
||||
{
|
||||
name: "release wait default retries",
|
||||
release: &ReleaseSpec{Wait: &[]bool{true}[0]},
|
||||
syncOpts: nil,
|
||||
helm: testutil.NewVersionHelmExec("3.15.0"),
|
||||
helmSpec: HelmSpec{WaitRetries: 4},
|
||||
expected: []string{"--wait", "--wait-retries", "4"},
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
|
|
|||
Loading…
Reference in New Issue