Skip to content

Commit

Permalink
tests: correct typo in annotations string in the controller tests
Browse files Browse the repository at this point in the history
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
  • Loading branch information
humblec committed Mar 16, 2022
1 parent 32c27a5 commit 73fe249
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/controller/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ func TestFSTypeProvision(t *testing.T) {
volOpts: controller.ProvisionOptions{
StorageClass: &storagev1.StorageClass{
ReclaimPolicy: &deletePolicy,
Parameters: map[string]string{
Parameters: map[string]string{
// We deliberately skip fsType in sc param
// "fstype": "",
},
Expand Down Expand Up @@ -969,7 +969,7 @@ func TestFSTypeProvision(t *testing.T) {
volOpts: controller.ProvisionOptions{
StorageClass: &storagev1.StorageClass{
ReclaimPolicy: &deletePolicy,
Parameters: map[string]string{
Parameters: map[string]string{
// We deliberately skip fsType in sc param
// "fstype": "xfs",
},
Expand Down Expand Up @@ -4508,7 +4508,7 @@ func TestProvisionWithMigration(t *testing.T) {
expectTranslation: true,
},
{
name: "provision with migration on with GA annStorageProvisioner annontation",
name: "provision with migration on with GA annStorageProvisioner annotation",
scProvisioner: inTreePluginName,
annotation: map[string]string{annStorageProvisioner: driverName},
expectTranslation: true,
Expand All @@ -4520,7 +4520,7 @@ func TestProvisionWithMigration(t *testing.T) {
expectTranslation: false,
},
{
name: "provision without migration for native CSI with GA annStorageProvisioner annontation",
name: "provision without migration for native CSI with GA annStorageProvisioner annotation",
scProvisioner: driverName,
annotation: map[string]string{annStorageProvisioner: driverName},
expectTranslation: false,
Expand Down

0 comments on commit 73fe249

Please sign in to comment.