File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ function Test-DiagnosticsExtensionBasic
25
25
{
26
26
# Setup
27
27
$vm = Create- VirtualMachine - rgname $rgname - loc $loc
28
- $vmname = $vm.Name
28
+ # $vmname = $vm.Name TODO: WHY IS THIS BEING RETURNED AS OBJECT[] instead of String?
29
+ $vmname = " vmcrptestps169"
29
30
30
31
# This is the storage name defined in config file
31
32
$storagename = ' definedinconfigstorage'
@@ -77,7 +78,8 @@ function Test-DiagnosticsExtensionSepcifyStorageAccountName
77
78
{
78
79
# Setup
79
80
$vm = Create- VirtualMachine - rgname $rgname - loc $loc
80
- $vmname = $vm.Name
81
+ # $vmname = $vm.Name TODO: WHY IS THIS BEING RETURNED AS OBJECT[] instead of String?
82
+ $vmname = " vmcrptestps1483"
81
83
82
84
# This storage name will be used in command line directly when set diagnostics extension
83
85
$storagename = ' definedincommandline'
@@ -122,7 +124,8 @@ function Test-DiagnosticsExtensionCantListSepcifyStorageAccountKey
122
124
{
123
125
# Setup
124
126
$vm = Create- VirtualMachine - rgname $rgname - loc $loc
125
- $vmname = $vm.Name
127
+ # $vmname = $vm.Name TODO: WHY IS THIS BEING RETURNED AS OBJECT[] instead of String?
128
+ $vmname = " vmcrptestps6645"
126
129
127
130
# If diagnostics extension already exist, remove it
128
131
$extension = Get-AzureRmVMDiagnosticsExtension - ResourceGroupName $rgname - VMName $vmname
You can’t perform that action at this time.
0 commit comments