Skip to content

Commit 165fca7

Browse files
Disable DTL tests (#490)
1 parent cf804ca commit 165fca7

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

builder/azure/dtl/builder_acc_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ import (
3030
"github.com/hashicorp/packer-plugin-sdk/acctest"
3131
)
3232

33+
// DTL Tests were paused in April 2025 after the deprecation of Basic IP SKUs
34+
// This requires creating a network security group with either overly permissive ingress, or the expected clients IP
35+
// The complexity of maintaining this in CI is not worth the time currently when there are higher priority problems on the ARM builder, and DTL is very inactive
36+
3337
func TestDTLBuilderAcc_ManagedDisk_Windows(t *testing.T) {
38+
t.Skip()
3439
t.Parallel()
3540
common.CheckAcceptanceTestEnvVars(t, common.CheckAcceptanceTestEnvVarsParams{})
3641
acctest.TestPlugin(t, &acctest.PluginTestCase{
@@ -48,6 +53,7 @@ func TestDTLBuilderAcc_ManagedDisk_Windows(t *testing.T) {
4853
})
4954
}
5055
func TestDTLBuilderAcc_ManagedDisk_Linux_Artifacts(t *testing.T) {
56+
t.Skip()
5157
t.Parallel()
5258
common.CheckAcceptanceTestEnvVars(t, common.CheckAcceptanceTestEnvVarsParams{})
5359
acctest.TestPlugin(t, &acctest.PluginTestCase{

terraform/main.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ resource "azurerm_shared_image" "linux-sig" {
5252
}
5353
}
5454

55-
## DTL Builder Resources
55+
/*
56+
## DTL Builder Resources - disabled
5657
5758
resource "azurerm_dev_test_lab" "dtl" {
5859
name = "${var.resource_prefix}-packer-acceptance-test"
@@ -68,3 +69,4 @@ resource "azurerm_dev_test_virtual_network" "vnet" {
6869
use_in_virtual_machine_creation = "Allow"
6970
}
7071
}
72+
*/

0 commit comments

Comments
 (0)