Skip to content

Commit

Permalink
r/kubernetes_cluster: tweak flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
evenh committed Jan 20, 2020
1 parent c6d431f commit d3e77b9
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -530,11 +530,8 @@ func testAccAzureRMKubernetesCluster_conflictingLoadBalancerProfile(t *testing.T
Providers: acceptance.SupportedProviders,
Steps: []resource.TestStep{
{
Config: testAccAzureRMKubernetesCluster_conflictingLoadBalancerProfileConfig(data, clientId, clientSecret),
ExpectError: regexp.MustCompile(`errors during apply: 2 problems:
- "network_profile.0.load_balancer_profile.0.managed_outbound_ip_count": conflicts with network_profile.0.load_balancer_profile.0.outbound_ip_address_ids
- "network_profile.0.load_balancer_profile.0.outbound_ip_address_ids": conflicts with network_profile.0.load_balancer_profile.0.managed_outbound_ip_count`),
Config: testAccAzureRMKubernetesCluster_conflictingLoadBalancerProfileConfig(data, clientId, clientSecret),
ExpectError: regexp.MustCompile(`- "network_profile.0.load_balancer_profile.0.managed_outbound_ip_count": conflicts with network_profile.0.load_balancer_profile.0.outbound_ip_address_ids`),
},
{
ResourceName: "azurerm_public_ip.test",
Expand Down

0 comments on commit d3e77b9

Please sign in to comment.