File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/NetAppFiles/NetAppFiles.Test/ScenarioTests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ function Test-VolumeCrud
83
83
# create the list of protocol types
84
84
$protocolTypes = New-Object string[] 2
85
85
$protocolTypes [0 ] = " NFSv3"
86
- $protocolTypes [1 ] = " NFSv4"
86
+ $protocolTypes [1 ] = " NFSv4.1 "
87
87
88
88
try
89
89
{
@@ -112,8 +112,8 @@ function Test-VolumeCrud
112
112
Assert-NotNull $retrievedVolume.ExportPolicy
113
113
Assert-AreEqual $retrievedVolume.ExportPolicy.Rules [0 ].AllowedClients ' 0.0.0.0/0'
114
114
Assert-AreEqual $retrievedVolume.ExportPolicy.Rules [1 ].AllowedClients ' 1.2.3.0/24'
115
- Assert-AreEqual $retrievedVolume.ProtocolTypes [0 ] ' NFSv3 '
116
- Assert-AreEqual $retrievedVolume.ProtocolTypes [1 ] ' NFSv4.1 '
115
+ Assert-AreEqual $retrievedVolume.ProtocolTypes [0 ] $protocolTypes [ 0 ]
116
+ Assert-AreEqual $retrievedVolume.ProtocolTypes [1 ] $protocolTypes [ 1 ]
117
117
Assert-NotNull $retrievedVolume.MountTargets
118
118
119
119
# create second volume and check using the confirm flag
@@ -298,4 +298,4 @@ function Test-VolumePipelines
298
298
# Cleanup
299
299
Clean - ResourceGroup $resourceGroup
300
300
}
301
- }
301
+ }
You can’t perform that action at this time.
0 commit comments