@@ -1404,13 +1404,11 @@ func Test_getNodeConditionPredicate(t *testing.T) {
1404
1404
{want : true , input : & v1.Node {Status : validNodeStatus , ObjectMeta : metav1.ObjectMeta {Labels : map [string ]string {}}}},
1405
1405
{want : true , input : & v1.Node {Status : validNodeStatus , ObjectMeta : metav1.ObjectMeta {Labels : map [string ]string {labelNodeRoleMaster : "" }}}},
1406
1406
{want : true , input : & v1.Node {Status : validNodeStatus , ObjectMeta : metav1.ObjectMeta {Labels : map [string ]string {labelNodeRoleExcludeBalancer : "" }}}},
1407
- {want : true , input : & v1.Node {Status : validNodeStatus , ObjectMeta : metav1.ObjectMeta {Labels : map [string ]string {labelAlphaNodeRoleExcludeBalancer : "" }}}},
1408
1407
1409
1408
{want : true , enableExclusion : true , input : & v1.Node {Status : validNodeStatus , ObjectMeta : metav1.ObjectMeta {Labels : map [string ]string {labelNodeRoleMaster : "" }}}},
1410
1409
{want : true , enableLegacy : true , input : & v1.Node {Status : validNodeStatus , ObjectMeta : metav1.ObjectMeta {Labels : map [string ]string {labelNodeRoleExcludeBalancer : "" }}}},
1411
1410
1412
1411
{want : false , enableLegacy : true , input : & v1.Node {Status : validNodeStatus , ObjectMeta : metav1.ObjectMeta {Labels : map [string ]string {labelNodeRoleMaster : "" }}}},
1413
- {want : false , enableExclusion : true , input : & v1.Node {Status : validNodeStatus , ObjectMeta : metav1.ObjectMeta {Labels : map [string ]string {labelAlphaNodeRoleExcludeBalancer : "" }}}},
1414
1412
{want : false , enableExclusion : true , input : & v1.Node {Status : validNodeStatus , ObjectMeta : metav1.ObjectMeta {Labels : map [string ]string {labelNodeRoleExcludeBalancer : "" }}}},
1415
1413
}
1416
1414
for _ , tt := range tests {
0 commit comments