Skip to content

Commit 3ce961f

Browse files
amend test cluster name for update test
1 parent d227396 commit 3ce961f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

minikube/resource_cluster_test.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,16 @@ func TestClusterCreation_Docker_Update(t *testing.T) {
7979
CheckDestroy: verifyDelete,
8080
Steps: []resource.TestStep{
8181
{
82-
Config: testAcceptanceClusterConfig("docker", "TestClusterCreationDocker"),
82+
Config: testAcceptanceClusterConfig("docker", "TestClusterCreationDockerUpdate"),
8383
Check: resource.ComposeTestCheckFunc(
84-
testPropertyExists("minikube_cluster.new", "TestClusterCreationDocker"),
84+
testPropertyExists("minikube_cluster.new", "TestClusterCreationDockerUpdate"),
8585
),
8686
},
8787
{
88-
Config: testAcceptanceClusterConfig_Update("docker", "TestClusterCreationDocker"),
88+
Config: testAcceptanceClusterConfig_Update("docker", "TestClusterCreationDockerUpdate"),
89+
Check: resource.ComposeTestCheckFunc(
90+
resource.TestCheckResourceAttr("minikube_cluster.new", "addons.2", "ingress"),
91+
),
8992
},
9093
},
9194
})

0 commit comments

Comments
 (0)