Skip to content

Commit

Permalink
solve bigquery issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nasir19noor committed Jan 16, 2025
1 parent eac6cca commit 3551c59
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/java-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ concurrency:

env:
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade=error
EXPORT_PROJECT: "daring-fiber-439305-v4"
EXPORT_DATASET: "load_test_results"
EXPORT_TABLE: "test_metrics"

permissions: read-all

Expand Down Expand Up @@ -191,7 +194,10 @@ jobs:
--it-project="daring-fiber-439305-v4" \
--it-artifact-bucket="ollion-teleport-testing" \
--it-private-connectivity="datastream-private-connect-asia-south1" \
--modules-to-build="v2/spanner-to-sourcedb"
--modules-to-build="v2/spanner-to-sourcedb" \
--export-project="${EXPORT_PROJECT}" \
--export-dataset="${EXPORT_DATASET}" \
--export-table="${EXPORT_TABLE}"
- name: Cleanup Java Environment
uses: ./.github/actions/cleanup-java-env
if: always()
5 changes: 4 additions & 1 deletion cicd/cmd/run-load-tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ func main() {
flags.CloudProxyHost(),
flags.CloudProxyMySqlPort(),
flags.CloudProxyPostgresPort(),
flags.CloudProxyPassword())
flags.CloudProxyPassword(),
flags.ExportProject(),
flags.ExportDataset(),
flags.ExportTable())
if err != nil {
log.Fatalf("%v\n", err)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void reverseReplication1KTpsLoadTest()
.setBatchSizeBytes("0")
.build();

dataGenerator.execute(Duration.ofMinutes(15));
dataGenerator.execute(Duration.ofMinutes(10));
assertThatPipeline(jobInfo).isRunning();

JDBCRowsCheck check =
Expand Down

0 comments on commit 3551c59

Please sign in to comment.