You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/NetAppFiles/NetAppFiles.Test/ScenarioTests/VolumeGroupTests.ps1
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -387,7 +387,7 @@ function Test-OracleVolumeGroupToManyVolumes
387
387
$newTagValue="tagValue1"
388
388
Write-Log"Call new volumegroup"
389
389
#Assert-ThrowsContains{ New-AzNetAppFilesAccount -ResourceGroupName $resourceGroup -Location $resourceLocation -Name $accName1 -Tag @{$newTagName = $newTagValue} -ActiveDirectory $activeDirectories} 'Only one active directory allowed';
390
-
Assert-ThrowsContains{$retrievedVolumeGroup=New-AzNetAppFilesVolumeGroup-ResourceGroupName $fixedResourceGroup-Location $resourceLocation-AccountName $accName-PoolName $poolName-Name $volGroupName1-Tag @{$newTagName=$newTagValue} -NumberOfDataVolumes$numberOfVolumes-GroupDescription $GroupDescription-ApplicationIdentifier $ApplicationIdentifier-Zone 1-Vnet $vnetName-SystemRole $SystemRole-NodeMemory $nodeMemory } 'Cannot validate argument on parameter 'NumberOfDataVolumes'. The 9 argument is greater than the maximum allowed range of 8'
390
+
Assert-ThrowsContains{$retrievedVolumeGroup=New-AzNetAppFilesVolumeGroup-ResourceGroupName $fixedResourceGroup-Location $resourceLocation-AccountName $accName-PoolName $poolName-Name $volGroupName1-Tag @{$newTagName=$newTagValue} -NumberOfDataVolume$numberOfVolumes-GroupDescription $GroupDescription-ApplicationIdentifier $ApplicationIdentifier-Zone 1-Vnet $vnetName-SystemRole $SystemRole-NodeMemory $nodeMemory } 'Cannot validate argument on parameter 'NumberOfDataVolume'. The 9 argument is greater than the maximum allowed range of 8'
391
391
# Cleanup the volumes
392
392
#foreach($volume in $retrievedVolumeGroup.Volumes)
0 commit comments