Skip to content

Commit

Permalink
skip LDE tests (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykim-akamai authored Nov 5, 2024
1 parent b6c358f commit c6b4678
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions test/integration/instances_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ func TestInstance_Disks_List(t *testing.T) {
}
}

// TODO:: Un-skip this test once diskencryption is enabled
func TestInstance_Disks_List_WithEncryption(t *testing.T) {
t.Skip("Skip disk encryption tests until it is enabled in region")
client, instance, teardown, err := setupInstance(t, "fixtures/TestInstance_Disks_List_WithEncryption", true, func(c *linodego.Client, ico *linodego.InstanceCreateOptions) {
ico.Region = getRegionsWithCaps(t, c, []string{"Disk Encryption"})[0]
})
Expand Down Expand Up @@ -452,7 +454,9 @@ func TestInstance_Rebuild(t *testing.T) {
}
}

// TODO:: Un-skip this test once diskencryption is enabled
func TestInstance_RebuildWithEncryption(t *testing.T) {
t.Skip("Skip disk encryption tests until it is enabled in region")
client, instance, _, teardown, err := setupInstanceWithoutDisks(
t,
"fixtures/TestInstance_RebuildWithEncryption",
Expand Down
3 changes: 2 additions & 1 deletion test/integration/lke_clusters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,10 @@ func setupLKECluster(t *testing.T, clusterModifiers []clusterModifier, fixturesY
var fixtureTeardown func()
client, fixtureTeardown := createTestClient(t, fixturesYaml)

// TODO:: Add "Disk Encryption" to Region once disk encryption is enabled
createOpts := linodego.LKEClusterCreateOptions{
Label: label,
Region: getRegionsWithCaps(t, client, []string{"Kubernetes", "Disk Encryption"})[0],
Region: getRegionsWithCaps(t, client, []string{"Kubernetes"})[0],
K8sVersion: "1.29",
Tags: []string{"testing"},
NodePools: []linodego.LKENodePoolCreateOptions{{Count: 1, Type: "g6-standard-2", Tags: []string{"test"}}},
Expand Down

0 comments on commit c6b4678

Please sign in to comment.