Skip to content

Commit

Permalink
Make Notebook Instance acceptance test ignore update_time after imp…
Browse files Browse the repository at this point in the history
…ort (#9134)

[upstream:a08d24dd78f5545448cd2f63b194e55bd801afea]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician committed Oct 3, 2023
1 parent 0049bc9 commit ce51a73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .changelog/9134.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
5 changes: 0 additions & 5 deletions .teamcity/components/generated/packages.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ var packages = mapOf(
"displayName" to "Environment Variables",
"path" to "./google-beta/envvar"
),
"fwmodels" to mapOf(
"name" to "fwmodels",
"displayName" to "Framework Models",
"path" to "./google-beta/fwmodels"
),
"fwprovider" to mapOf(
"name" to "fwprovider",
"displayName" to "Framework Provider",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func TestAccNotebooksInstance_update(t *testing.T) {
ResourceName: "google_notebooks_instance.instance",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"vm_image", "metadata"},
ImportStateVerifyIgnore: []string{"vm_image", "metadata", "update_time"},
},
{
Config: testAccNotebooksInstance_update(context, true),
Expand All @@ -57,7 +57,7 @@ func TestAccNotebooksInstance_update(t *testing.T) {
ResourceName: "google_notebooks_instance.instance",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"vm_image", "metadata", "labels", "terraform_labels"},
ImportStateVerifyIgnore: []string{"vm_image", "metadata", "labels", "terraform_labels", "update_time"},
},
{
Config: testAccNotebooksInstance_update(context, false),
Expand All @@ -66,7 +66,7 @@ func TestAccNotebooksInstance_update(t *testing.T) {
ResourceName: "google_notebooks_instance.instance",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"vm_image", "metadata", "labels", "terraform_labels"},
ImportStateVerifyIgnore: []string{"vm_image", "metadata", "labels", "terraform_labels", "update_time"},
},
},
})
Expand Down

0 comments on commit ce51a73

Please sign in to comment.