@@ -893,6 +893,7 @@ func TestPopulateConfigurationDefaults_AllSet(t *testing.T) {
893893 },
894894 NFSMountOptions : "nfsvers=4.1" ,
895895 VolumeCreateTimeout : "30" ,
896+ NASType : "smb" ,
896897 GCNVNASStorageDriverPool : drivers.GCNVNASStorageDriverPool {
897898 GCNVNASStorageDriverConfigDefaults : drivers.GCNVNASStorageDriverConfigDefaults {
898899 CommonStorageDriverConfigDefaults : drivers.CommonStorageDriverConfigDefaults {
@@ -905,7 +906,6 @@ func TestPopulateConfigurationDefaults_AllSet(t *testing.T) {
905906 },
906907 StorageClass : "software" ,
907908 ServiceLevel : "premium" ,
908- NASType : "smb" ,
909909 },
910910 }
911911
@@ -920,13 +920,13 @@ func TestPopulateConfigurationDefaults_AllSet(t *testing.T) {
920920 assert .Equal (t , "premium" , driver .Config .ServiceLevel , "service level mismatch" )
921921 assert .Equal (t , "software" , driver .Config .StorageClass , "storage class mismatch" )
922922 assert .Equal (t , "nfsvers=4.1" , driver .Config .NFSMountOptions , "NFS mount options mismatch" )
923- assert .Equal (t , "30" , driver .Config .VolumeCreateTimeout , "NFS mount options mismatch" )
923+ assert .Equal (t , "30" , driver .Config .VolumeCreateTimeout , "volume create timeout mismatch" )
924924 assert .Equal (t , "true" , driver .Config .SnapshotDir , "snapshot dir mismatch" )
925925 assert .Equal (t , "1456898458" , driver .Config .SnapshotReserve , "snapshot reserve mismatch" )
926926 assert .Equal (t , "0700" , driver .Config .UnixPermissions , "unix permissions mismatch" )
927927 assert .Equal (t , "123456789000" , driver .Config .LimitVolumeSize , "limit volume size mismatch" )
928928 assert .Equal (t , "1.1.1.1/32" , driver .Config .ExportRule , "export rule mismatch" )
929- assert .Equal (t , sa .NFS , driver .Config .NASType , "NAS type mismatch" )
929+ assert .Equal (t , sa .SMB , driver .Config .NASType , "NAS type mismatch" )
930930}
931931
932932func TestPopulateConfigurationDefaults_InvalidSnapshotDir (t * testing.T ) {
0 commit comments