Skip to content

Commit 1cc026c

Browse files
ignore output only fields in update test to fix TestAccNotebooksInstance_update test (#9634) (#16807)
[upstream:e82ccc2f1c23922a49080ee5095912249f933c2c] Signed-off-by: Modular Magician <[email protected]>
1 parent 4a84afe commit 1cc026c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.changelog/9634.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
3+
```

google/services/notebooks/resource_notebooks_instance_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func TestAccNotebooksInstance_update(t *testing.T) {
4848
ResourceName: "google_notebooks_instance.instance",
4949
ImportState: true,
5050
ImportStateVerify: true,
51-
ImportStateVerifyIgnore: []string{"vm_image", "metadata", "update_time"},
51+
ImportStateVerifyIgnore: []string{"vm_image", "metadata", "update_time", "proxy_uri", "state"},
5252
},
5353
{
5454
Config: testAccNotebooksInstance_update(context, true),
@@ -57,7 +57,7 @@ func TestAccNotebooksInstance_update(t *testing.T) {
5757
ResourceName: "google_notebooks_instance.instance",
5858
ImportState: true,
5959
ImportStateVerify: true,
60-
ImportStateVerifyIgnore: []string{"vm_image", "metadata", "labels", "terraform_labels", "update_time"},
60+
ImportStateVerifyIgnore: []string{"vm_image", "metadata", "labels", "terraform_labels", "update_time", "proxy_uri", "state"},
6161
},
6262
{
6363
Config: testAccNotebooksInstance_update(context, false),
@@ -66,7 +66,7 @@ func TestAccNotebooksInstance_update(t *testing.T) {
6666
ResourceName: "google_notebooks_instance.instance",
6767
ImportState: true,
6868
ImportStateVerify: true,
69-
ImportStateVerifyIgnore: []string{"vm_image", "metadata", "labels", "terraform_labels", "update_time"},
69+
ImportStateVerifyIgnore: []string{"vm_image", "metadata", "labels", "terraform_labels", "update_time", "proxy_uri", "state"},
7070
},
7171
},
7272
})

0 commit comments

Comments
 (0)