Skip to content

Commit

Permalink
skip VCR for tests that create bigtable instance (GoogleCloudPlatform…
Browse files Browse the repository at this point in the history
  • Loading branch information
shuyama1 authored and jialei-chen committed Nov 29, 2023
1 parent 432530c commit b358749
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mmv1/products/bigtable/AppProfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ examples:
deletion_protection: 'false'
ignore_read_extra:
- 'ignore_warnings'
# bigtable instance does not use the shared HTTP client, this test creates an instance
skip_vcr: true
- !ruby/object:Provider::Terraform::Examples
name: 'bigtable_app_profile_singlecluster'
primary_resource_id: 'ap'
Expand All @@ -56,6 +58,8 @@ examples:
deletion_protection: 'false'
ignore_read_extra:
- 'ignore_warnings'
# bigtable instance does not use the shared HTTP client, this test creates an instance
skip_vcr: true
- !ruby/object:Provider::Terraform::Examples
name: 'bigtable_app_profile_multicluster'
primary_resource_id: 'ap'
Expand All @@ -69,6 +73,8 @@ examples:
deletion_protection: 'false'
ignore_read_extra:
- 'ignore_warnings'
# bigtable instance does not use the shared HTTP client, this test creates an instance
skip_vcr: true
custom_code: !ruby/object:Provider::Terraform::CustomCode
encoder: templates/terraform/encoders/bigtable_app_profile.go.erb
extra_schema_entry: templates/terraform/extra_schema_entry/bigtable_app_profile.go.erb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,8 @@ func TestAccBigQueryExternalDataTable_CSV_WithSchema_UpdateAllowQuotedNewlines(t
}

func TestAccBigQueryDataTable_bigtable(t *testing.T) {
// bigtable instance does not use the shared HTTP client, this test creates an instance
acctest.SkipIfVcr(t)
t.Parallel()

context := map[string]interface{}{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ func TestAccBigtableGCPolicy_multiplePolicies(t *testing.T) {
}

func TestAccBigtableGCPolicy_gcRulesPolicy(t *testing.T) {
// bigtable instance does not use the shared HTTP client, this test creates an instance
acctest.SkipIfVcr(t)
t.Parallel()

Expand Down

0 comments on commit b358749

Please sign in to comment.