From 3726e9f2207f125f612c0fcb5e102ffe9d557f75 Mon Sep 17 00:00:00 2001 From: Alvaro Viebrantz Date: Thu, 6 Jul 2023 13:28:13 -0700 Subject: [PATCH] test(bigquery): skip storage billing model tests (#8226) Skip tests related to Storage Billing Model as tests are going to fail due to changes related to BigQuery editions. This feature is not available in our CI/CD environment as we have BigQuery commitments on it. Fixes #8194 and #8193 --- bigquery/dataset_integration_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bigquery/dataset_integration_test.go b/bigquery/dataset_integration_test.go index 5d20f67311fe..c09d52b9a1b5 100644 --- a/bigquery/dataset_integration_test.go +++ b/bigquery/dataset_integration_test.go @@ -289,6 +289,7 @@ func TestIntegration_DatasetStorageBillingModel(t *testing.T) { if client == nil { t.Skip("Integration tests skipped") } + t.Skip("BigQuery flat-rate commitments enabled for project, feature skipped") ctx := context.Background() md, err := dataset.Metadata(ctx) @@ -318,10 +319,11 @@ func TestIntegration_DatasetStorageBillingModel(t *testing.T) { } } -func TestIntegration_DatasetUpdateStorageBillingModel(t *testing.T) { +func TestIntegration_DatasetStorageUpdateBillingModel(t *testing.T) { if client == nil { t.Skip("Integration tests skipped") } + t.Skip("BigQuery flat-rate commitments enabled for project, feature skipped") ctx := context.Background() ds := client.Dataset(datasetIDs.New())