Skip to content

Commit

Permalink
Ignore param value in Datastream tests (GoogleCloudPlatform#12094)
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson authored and akshat-jindal-nit committed Nov 18, 2024
1 parent 15fc42e commit aba2a60
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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 @@ -43,7 +43,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 @@ -53,7 +53,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 @@ -63,7 +63,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 aba2a60

Please sign in to comment.