Skip to content

Commit

Permalink
Added overwrite flag in filesystem pre-reqs (#243)
Browse files Browse the repository at this point in the history
* pre-req fixed in file system

* removing locks
  • Loading branch information
Sakshi-dell authored Nov 14, 2024
1 parent 7c03b96 commit 0163843
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion powerscale/provider/file_system_datasource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ func TestAccFileSystemDataSource(t *testing.T) {
resource.TestCheckResourceAttr(fsTerraform, "file_systems_details.file_system_quotas.0.usage.fsphysical", "2048"),
resource.TestCheckResourceAttr(fsTerraform, "file_systems_details.file_system_quotas.0.usage.shadow_refs", "0"),
resource.TestCheckResourceAttr(fsTerraform, "file_systems_details.file_system_quotas.0.usage.inodes", "1"),
resource.TestCheckResourceAttr(fsTerraform, "file_systems_details.file_system_snapshots.0.has_locks", "false"),
resource.TestCheckResourceAttr(fsTerraform, "file_systems_details.file_system_snapshots.0.state", "active"),
),
},
Expand Down
2 changes: 1 addition & 1 deletion powerscale/provider/file_system_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ resource "powerscale_filesystem" "file_system_test" {
name = "tfaccDirTf"
recursive = true
overwrite = false
overwrite = true
group = {
id = "GID:0"
name = "wheel"
Expand Down
1 change: 0 additions & 1 deletion powerscale/provider/snapshot_datasource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func TestAccSnapshotDataSource(t *testing.T) {
Config: ProviderConfig + SnapshotDataSourceConfig,
Check: resource.ComposeAggregateTestCheckFunc(
resource.TestCheckResourceAttrSet(snapshotTerraformName, "snapshots_details.0.expires"),
resource.TestCheckResourceAttr(snapshotTerraformName, "snapshots_details.0.has_locks", "false"),
resource.TestCheckResourceAttr(snapshotTerraformName, "snapshots_details.0.pct_reserve", "0"),
resource.TestCheckResourceAttr(snapshotTerraformName, "snapshots_details.0.path", "/ifs/tfacc_file_system_test"),
resource.TestCheckResourceAttr(snapshotTerraformName, "snapshots_details.0.shadow_bytes", "0"),
Expand Down

0 comments on commit 0163843

Please sign in to comment.