Skip to content

fixed failing test TestAccSecurityCenterV2OrganizationBigQueryExport #8517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/12088.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none
securitycenterv2: fixed flaky test TestAccSecurityCenterV2OrganizationBigQueryExportConfig_basic
```
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ resource "google_bigquery_dataset" "default" {
location = "US"
default_table_expiration_ms = 3600000
default_partition_expiration_ms = null
delete_contents_on_destroy = true

labels = {
env = "default"
Expand All @@ -79,7 +80,7 @@ resource "google_bigquery_dataset" "default" {

resource "time_sleep" "wait_1_minute" {
depends_on = [google_bigquery_dataset.default]
create_duration = "3m"
create_duration = "6m"
}

resource "google_scc_v2_organization_scc_big_query_export" "default" {
Expand Down Expand Up @@ -111,6 +112,7 @@ resource "google_bigquery_dataset" "default" {
location = "US"
default_table_expiration_ms = 3600000
default_partition_expiration_ms = null
delete_contents_on_destroy = true

labels = {
env = "default"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ resource "google_bigquery_dataset" "default" {
location = "US"
default_table_expiration_ms = 3600000
default_partition_expiration_ms = null
delete_contents_on_destroy = true

labels = {
env = "default"
Expand All @@ -79,7 +80,7 @@ resource "google_bigquery_dataset" "default" {

resource "time_sleep" "wait_1_minute" {
depends_on = [google_bigquery_dataset.default]
create_duration = "3m"
create_duration = "6m"
}

resource "google_scc_v2_organization_scc_big_query_exports" "default" {
Expand Down Expand Up @@ -111,6 +112,7 @@ resource "google_bigquery_dataset" "default" {
location = "US"
default_table_expiration_ms = 3600000
default_partition_expiration_ms = null
delete_contents_on_destroy = true

labels = {
env = "default"
Expand Down