test: add test case for both includeNeeds and includeTransitiveNeeds enabled
Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com> Agent-Logs-Url: https://github.com/helmfile/helmfile/sessions/c0b910d1-387a-476e-beb9-ea38ab6c1061
This commit is contained in:
parent
4fada4f73c
commit
0cf7ab6908
|
|
@ -165,6 +165,13 @@ func TestSelectReleasesWithOverridesWithIncludedTransitives(t *testing.T) {
|
|||
includeNeeds: false,
|
||||
includeTransitiveNeeds: true,
|
||||
},
|
||||
{
|
||||
subject: "include both direct and transitive needs",
|
||||
selector: []string{"name=serviceA"},
|
||||
want: []string{"serviceA", "serviceB", "serviceC"},
|
||||
includeNeeds: true,
|
||||
includeTransitiveNeeds: true,
|
||||
},
|
||||
}
|
||||
|
||||
example := []byte(`releases:
|
||||
|
|
|
|||
Loading…
Reference in New Issue