We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d34f5e4 commit 9b2dc3dCopy full SHA for 9b2dc3d
internal/convert_test.go
@@ -138,6 +138,13 @@ func TestConvertActiveClusterSelectionPolicy(t *testing.T) {
138
},
139
wantErr: true,
140
141
+ {
142
+ name: "invalid strategy",
143
+ policy: &ActiveClusterSelectionPolicy{
144
+ Strategy: ActiveClusterSelectionStrategy(-1),
145
+ },
146
+ wantErr: true,
147
148
}
149
150
for _, test := range tests {
0 commit comments