Skip to content

Commit

Permalink
unskip disk encryption test (linode#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykim-akamai authored Nov 13, 2024
1 parent d3028f7 commit 86d05de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions test/integration/instances_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,7 @@ 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 @@ -600,9 +598,7 @@ 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: 1 addition & 2 deletions test/integration/lke_clusters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,9 @@ 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"})[0],
Region: getRegionsWithCaps(t, client, []string{"Kubernetes", "Disk Encryption"})[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 86d05de

Please sign in to comment.