Skip to content

Commit

Permalink
test(bigquery): skip storage billing model tests (#8226)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
alvarowolfx committed Jul 6, 2023
1 parent 710c627 commit 3726e9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bigquery/dataset_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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())
Expand Down

0 comments on commit 3726e9f

Please sign in to comment.