Skip to content

Commit

Permalink
refactor: try moving skip for bq tests around
Browse files Browse the repository at this point in the history
  • Loading branch information
iamKunalGupta committed Jan 18, 2025
1 parent 32d14b9 commit 28cc355
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions flow/e2e/bigquery/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package e2e_bigquery

import (
"fmt"
"os"
"strings"
"testing"
"time"
Expand Down Expand Up @@ -88,6 +89,9 @@ func (s PeerFlowE2ETestSuiteBQ) Teardown() {
}

func SetupSuite(t *testing.T) PeerFlowE2ETestSuiteBQ {
if val, ok := os.LookupEnv("CI_PG_VERSION"); ok && val != "16" {
t.Skip("Only running in PG16 to reduce flakiness from high concurrency")
}
t.Helper()

suffix := shared.RandomString(8)
Expand Down
4 changes: 0 additions & 4 deletions flow/e2e/bigquery/peer_flow_bq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ import (
)

func TestPeerFlowE2ETestSuiteBQ(t *testing.T) {
if val, ok := os.LookupEnv("CI_PG_VERSION"); ok && val != "16" {
t.Skip("Only running in PG16 to reduce flakiness from high concurrency")
}

e2eshared.RunSuite(t, SetupSuite)
}

Expand Down

0 comments on commit 28cc355

Please sign in to comment.