Skip to content

Commit

Permalink
Ignore param value in Datastream tests (#12094) (#19984)
Browse files Browse the repository at this point in the history
[upstream:e0acc058d7196b9834b9413e1ff6fcf928fa897d]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Oct 23, 2024
1 parent 3c44f22 commit bb261ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .changelog/12094.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
8 changes: 4 additions & 4 deletions google/services/datastream/resource_datastream_stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestAccDatastreamStream_update(t *testing.T) {
ResourceName: "google_datastream_stream.default",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"stream_id", "location", "desired_state", "labels", "terraform_labels"},
ImportStateVerifyIgnore: []string{"create_without_validation", "stream_id", "location", "desired_state", "labels", "terraform_labels"},
},
{
Config: testAccDatastreamStream_datastreamStreamBasicUpdate(context, "RUNNING", true),
Expand All @@ -45,7 +45,7 @@ func TestAccDatastreamStream_update(t *testing.T) {
ResourceName: "google_datastream_stream.default",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"stream_id", "location", "desired_state", "labels", "terraform_labels"},
ImportStateVerifyIgnore: []string{"create_without_validation", "stream_id", "location", "desired_state", "labels", "terraform_labels"},
},
{
Config: testAccDatastreamStream_datastreamStreamBasicUpdate(context, "PAUSED", true),
Expand All @@ -55,7 +55,7 @@ func TestAccDatastreamStream_update(t *testing.T) {
ResourceName: "google_datastream_stream.default",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"stream_id", "location", "desired_state", "labels", "terraform_labels"},
ImportStateVerifyIgnore: []string{"create_without_validation", "stream_id", "location", "desired_state", "labels", "terraform_labels"},
},
{
Config: testAccDatastreamStream_datastreamStreamBasicUpdate(context, "RUNNING", true),
Expand All @@ -65,7 +65,7 @@ func TestAccDatastreamStream_update(t *testing.T) {
ResourceName: "google_datastream_stream.default",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"stream_id", "location", "desired_state", "labels", "terraform_labels"},
ImportStateVerifyIgnore: []string{"create_without_validation", "stream_id", "location", "desired_state", "labels", "terraform_labels"},
},
{
// Disable prevent_destroy
Expand Down

0 comments on commit bb261ec

Please sign in to comment.