diff --git a/internal/services/network/network_watcher_resource_test.go b/internal/services/network/network_watcher_resource_test.go index 7885f599c6e71..d1ff027a1f951 100644 --- a/internal/services/network/network_watcher_resource_test.go +++ b/internal/services/network/network_watcher_resource_test.go @@ -28,67 +28,67 @@ func TestAccNetworkWatcher(t *testing.T) { // which will invoke a `go test` for each test function, which effectively making them to be in parallel, even if they are intended // to be run in sequential. testCases := map[string]map[string]func(t *testing.T){ - "basic": { - "basic": testAccNetworkWatcher_basic, - "requiresImport": testAccNetworkWatcher_requiresImport, - "complete": testAccNetworkWatcher_complete, - "update": testAccNetworkWatcher_update, - "disappears": testAccNetworkWatcher_disappears, - }, - "DataSource": { - "basic": testAccDataSourceNetworkWatcher_basic, - }, + //"basic": { + // "basic": testAccNetworkWatcher_basic, + // "requiresImport": testAccNetworkWatcher_requiresImport, + // "complete": testAccNetworkWatcher_complete, + // "update": testAccNetworkWatcher_update, + // "disappears": testAccNetworkWatcher_disappears, + //}, + //"DataSource": { + // "basic": testAccDataSourceNetworkWatcher_basic, + //}, "ConnectionMonitor": { - "addressBasic": testAccNetworkConnectionMonitor_addressBasic, - "addressComplete": testAccNetworkConnectionMonitor_addressComplete, - "addressUpdate": testAccNetworkConnectionMonitor_addressUpdate, - "vmBasic": testAccNetworkConnectionMonitor_vmBasic, - "vmComplete": testAccNetworkConnectionMonitor_vmComplete, - "vmUpdate": testAccNetworkConnectionMonitor_vmUpdate, - "destinationUpdate": testAccNetworkConnectionMonitor_destinationUpdate, - "missingDestinationInvalid": testAccNetworkConnectionMonitor_missingDestination, - "bothDestinationsInvalid": testAccNetworkConnectionMonitor_conflictingDestinations, - "requiresImport": testAccNetworkConnectionMonitor_requiresImport, - "httpConfiguration": testAccNetworkConnectionMonitor_httpConfiguration, - "icmpConfiguration": testAccNetworkConnectionMonitor_icmpConfiguration, - "bothAddressAndVirtualMachineId": testAccNetworkConnectionMonitor_withAddressAndVirtualMachineId, - "updateEndpoint": testAccNetworkConnectionMonitor_updateEndpointIPAddressAndCoverageLevel, - "azureArcVM": testAccNetworkConnectionMonitor_azureArcVM, - }, - "PacketCapture": { - "localDisk": testAccNetworkPacketCapture_localDisk, - "storageAccount": testAccNetworkPacketCapture_storageAccount, - "storageAccountAndLocalDisk": testAccNetworkPacketCapture_storageAccountAndLocalDisk, - "withFilters": testAccNetworkPacketCapture_withFilters, - "requiresImport": testAccNetworkPacketCapture_requiresImport, - }, - "VMPacketCapture": { - "localDisk": testAccVirtualMachinePacketCapture_localDisk, - "storageAccount": testAccVirtualMachinePacketCapture_storageAccount, - "storageAccountAndLocalDisk": testAccVirtualMachinePacketCapture_storageAccountAndLocalDisk, - "withFilters": testAccVirtualMachinePacketCapture_withFilters, - "requiresImport": testAccVirtualMachinePacketCapture_requiresImport, - }, - "VMSSPacketCapture": { - "localDisk": testAccVirtualMachineScaleSetPacketCapture_localDisk, - "storageAccount": testAccVirtualMachineScaleSetPacketCapture_storageAccount, - "storageAccountAndLocalDisk": testAccVirtualMachineScaleSetPacketCapture_storageAccountAndLocalDisk, - "withFilters": testAccVirtualMachineScaleSetPacketCapture_withFilters, - "requiresImport": testAccVirtualMachineScaleSetPacketCapture_requiresImport, - "machineScope": testAccVirtualMachineScaleSetPacketCapture_machineScope, - }, - "FlowLog": { - "basic": testAccNetworkWatcherFlowLog_basic, - "requiresImport": testAccNetworkWatcherFlowLog_requiresImport, - "disabled": testAccNetworkWatcherFlowLog_disabled, - "reenabled": testAccNetworkWatcherFlowLog_reenabled, - "retentionPolicy": testAccNetworkWatcherFlowLog_retentionPolicy, - "updateStorageAccount": testAccNetworkWatcherFlowLog_updateStorageAccount, - "trafficAnalytics": testAccNetworkWatcherFlowLog_trafficAnalytics, - "version": testAccNetworkWatcherFlowLog_version, - "location": testAccNetworkWatcherFlowLog_location, - "tags": testAccNetworkWatcherFlowLog_tags, + //"addressBasic": testAccNetworkConnectionMonitor_addressBasic, + //"addressComplete": testAccNetworkConnectionMonitor_addressComplete, + //"addressUpdate": testAccNetworkConnectionMonitor_addressUpdate, + //"vmBasic": testAccNetworkConnectionMonitor_vmBasic, + //"vmComplete": testAccNetworkConnectionMonitor_vmComplete, + //"vmUpdate": testAccNetworkConnectionMonitor_vmUpdate, + //"destinationUpdate": testAccNetworkConnectionMonitor_destinationUpdate, + //"missingDestinationInvalid": testAccNetworkConnectionMonitor_missingDestination, + //"bothDestinationsInvalid": testAccNetworkConnectionMonitor_conflictingDestinations, + //"requiresImport": testAccNetworkConnectionMonitor_requiresImport, + //"httpConfiguration": testAccNetworkConnectionMonitor_httpConfiguration, + //"icmpConfiguration": testAccNetworkConnectionMonitor_icmpConfiguration, + //"bothAddressAndVirtualMachineId": testAccNetworkConnectionMonitor_withAddressAndVirtualMachineId, + //"updateEndpoint": testAccNetworkConnectionMonitor_updateEndpointIPAddressAndCoverageLevel, + "azureArcVM": testAccNetworkConnectionMonitor_azureArcVM, }, + //"PacketCapture": { + // "localDisk": testAccNetworkPacketCapture_localDisk, + // "storageAccount": testAccNetworkPacketCapture_storageAccount, + // "storageAccountAndLocalDisk": testAccNetworkPacketCapture_storageAccountAndLocalDisk, + // "withFilters": testAccNetworkPacketCapture_withFilters, + // "requiresImport": testAccNetworkPacketCapture_requiresImport, + //}, + //"VMPacketCapture": { + // "localDisk": testAccVirtualMachinePacketCapture_localDisk, + // "storageAccount": testAccVirtualMachinePacketCapture_storageAccount, + // "storageAccountAndLocalDisk": testAccVirtualMachinePacketCapture_storageAccountAndLocalDisk, + // "withFilters": testAccVirtualMachinePacketCapture_withFilters, + // "requiresImport": testAccVirtualMachinePacketCapture_requiresImport, + //}, + //"VMSSPacketCapture": { + // "localDisk": testAccVirtualMachineScaleSetPacketCapture_localDisk, + // "storageAccount": testAccVirtualMachineScaleSetPacketCapture_storageAccount, + // "storageAccountAndLocalDisk": testAccVirtualMachineScaleSetPacketCapture_storageAccountAndLocalDisk, + // "withFilters": testAccVirtualMachineScaleSetPacketCapture_withFilters, + // "requiresImport": testAccVirtualMachineScaleSetPacketCapture_requiresImport, + // "machineScope": testAccVirtualMachineScaleSetPacketCapture_machineScope, + //}, + //"FlowLog": { + // "basic": testAccNetworkWatcherFlowLog_basic, + // "requiresImport": testAccNetworkWatcherFlowLog_requiresImport, + // "disabled": testAccNetworkWatcherFlowLog_disabled, + // "reenabled": testAccNetworkWatcherFlowLog_reenabled, + // "retentionPolicy": testAccNetworkWatcherFlowLog_retentionPolicy, + // "updateStorageAccount": testAccNetworkWatcherFlowLog_updateStorageAccount, + // "trafficAnalytics": testAccNetworkWatcherFlowLog_trafficAnalytics, + // "version": testAccNetworkWatcherFlowLog_version, + // "location": testAccNetworkWatcherFlowLog_location, + // "tags": testAccNetworkWatcherFlowLog_tags, + //}, } for group, m := range testCases {