Skip to content

Commit aa35d0e

Browse files
authored
fix TestAccBackupSnapshotExportJob_basic (#2723)
1 parent d5372d8 commit aa35d0e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

internal/service/cloudbackupsnapshotexportjob/resource_cloud_backup_snapshot_export_job_test.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ func basicTestCase(tb testing.TB) *resource.TestCase {
6363
Check: resource.ComposeAggregateTestCheckFunc(checks...),
6464
},
6565
{
66-
ResourceName: resourceName,
67-
ImportStateIdFunc: importStateIDFunc(resourceName),
68-
ImportState: true,
69-
ImportStateVerify: true,
66+
ResourceName: resourceName,
67+
ImportStateIdFunc: importStateIDFunc(resourceName),
68+
ImportState: true,
69+
ImportStateVerify: true,
70+
ImportStateVerifyIgnore: []string{"state"}, // state can change from Queued to InProgress
7071
},
7172
},
7273
}

0 commit comments

Comments
 (0)