Skip to content

Commit

Permalink
Update ingegration tests for container runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciprian Hacman committed Dec 19, 2020
1 parent 7c2d916 commit 786459a
Show file tree
Hide file tree
Showing 37 changed files with 7,480 additions and 42 deletions.
19 changes: 16 additions & 3 deletions cmd/kops/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,22 @@ func TestMixedInstancesSpotASG(t *testing.T) {
newIntegrationTest("mixedinstances.example.com", "mixed_instances_spot").withZones(3).runTestCloudformation(t)
}

// TestContainerdCloudformation runs the test on a containerd configuration
func TestContainerdCloudformation(t *testing.T) {
newIntegrationTest("containerd.example.com", "containerd-cloudformation").runTestCloudformation(t)
// TestContainerd runs the test on a containerd configuration
func TestContainerd(t *testing.T) {
newIntegrationTest("containerd.example.com", "containerd").runTestTerraformAWS(t)
newIntegrationTest("containerd.example.com", "containerd").runTestCloudformation(t)
}

// TestContainerdCustom runs the test on a custom containerd URL configuration
func TestContainerdCustom(t *testing.T) {
newIntegrationTest("containerd.example.com", "containerd-custom").runTestTerraformAWS(t)
newIntegrationTest("containerd.example.com", "containerd-custom").runTestCloudformation(t)
}

// TestDockerCustom runs the test on a custom Docker URL configuration
func TestDockerCustom(t *testing.T) {
newIntegrationTest("docker.example.com", "docker-custom").runTestTerraformAWS(t)
newIntegrationTest("docker.example.com", "docker-custom").runTestCloudformation(t)
}

// TestLaunchConfigurationASG tests ASGs using launch configurations instead of launch templates
Expand Down
Loading

0 comments on commit 786459a

Please sign in to comment.