Skip to content

Commit 86d05de

Browse files
authored
unskip disk encryption test (#611)
1 parent d3028f7 commit 86d05de

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

test/integration/instances_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,7 @@ func TestInstance_Disks_List(t *testing.T) {
247247
}
248248
}
249249

250-
// TODO:: Un-skip this test once diskencryption is enabled
251250
func TestInstance_Disks_List_WithEncryption(t *testing.T) {
252-
t.Skip("Skip disk encryption tests until it is enabled in region")
253251
client, instance, teardown, err := setupInstance(t, "fixtures/TestInstance_Disks_List_WithEncryption", true, func(c *linodego.Client, ico *linodego.InstanceCreateOptions) {
254252
ico.Region = getRegionsWithCaps(t, c, []string{"Disk Encryption"})[0]
255253
})
@@ -600,9 +598,7 @@ func TestInstance_Rebuild(t *testing.T) {
600598
}
601599
}
602600

603-
// TODO:: Un-skip this test once diskencryption is enabled
604601
func TestInstance_RebuildWithEncryption(t *testing.T) {
605-
t.Skip("Skip disk encryption tests until it is enabled in region")
606602
client, instance, _, teardown, err := setupInstanceWithoutDisks(
607603
t,
608604
"fixtures/TestInstance_RebuildWithEncryption",

test/integration/lke_clusters_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,9 @@ func setupLKECluster(t *testing.T, clusterModifiers []clusterModifier, fixturesY
287287
var fixtureTeardown func()
288288
client, fixtureTeardown := createTestClient(t, fixturesYaml)
289289

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

0 commit comments

Comments
 (0)