Skip to content

Commit b4e6926

Browse files
committed
remove artificial test case
1 parent 02fe982 commit b4e6926

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

api/v1alpha4/azurecluster_default_test.go

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,49 +1263,6 @@ func TestNodeOutboundLBDefaults(t *testing.T) {
12631263
},
12641264
},
12651265
},
1266-
{
1267-
name: "NodeOutboundLB declared as input with non-respected values",
1268-
cluster: &AzureCluster{
1269-
ObjectMeta: v1.ObjectMeta{
1270-
Name: "cluster-test",
1271-
},
1272-
Spec: AzureClusterSpec{
1273-
NetworkSpec: NetworkSpec{
1274-
APIServerLB: LoadBalancerSpec{Type: Public},
1275-
NodeOutboundLB: &LoadBalancerSpec{
1276-
Name: "foo",
1277-
SKU: "bar",
1278-
Type: "baz",
1279-
},
1280-
},
1281-
},
1282-
},
1283-
output: &AzureCluster{
1284-
ObjectMeta: v1.ObjectMeta{
1285-
Name: "cluster-test",
1286-
},
1287-
Spec: AzureClusterSpec{
1288-
NetworkSpec: NetworkSpec{
1289-
APIServerLB: LoadBalancerSpec{
1290-
Type: Public,
1291-
},
1292-
NodeOutboundLB: &LoadBalancerSpec{
1293-
Name: "cluster-test",
1294-
SKU: SKUStandard,
1295-
FrontendIPs: []FrontendIP{{
1296-
Name: "cluster-test-frontEnd",
1297-
PublicIP: &PublicIPSpec{
1298-
Name: "pip-cluster-test-node-outbound",
1299-
},
1300-
}},
1301-
Type: Public,
1302-
FrontendIPsCount: to.Int32Ptr(1),
1303-
IdleTimeoutInMinutes: to.Int32Ptr(DefaultOutboundRuleIdleTimeoutInMinutes),
1304-
},
1305-
},
1306-
},
1307-
},
1308-
},
13091266
}
13101267

13111268
for _, c := range cases {

0 commit comments

Comments
 (0)