Skip to content

Commit

Permalink
Create PubSubIO Load test (apache#30286)
Browse files Browse the repository at this point in the history
* Create PubSubIO Load test

* run preCommit gradle tasks

* refactor PubSub Load test and assertions

* delete unused dependency

* correct direct runner test dependency

* declare dependency

* refactor

* refactor
  • Loading branch information
akashorabek authored Feb 23, 2024
1 parent 3728f5c commit ae8bbf8
Show file tree
Hide file tree
Showing 2 changed files with 480 additions and 1 deletion.
6 changes: 5 additions & 1 deletion it/google-cloud-platform/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ dependencies {
implementation 'org.apache.parquet:parquet-avro:1.12.0'
implementation 'org.apache.parquet:parquet-common:1.12.0'
implementation 'org.apache.parquet:parquet-hadoop:1.12.0'
implementation 'org.apache.commons:commons-lang3:3.9'
implementation library.java.gax
implementation library.java.google_api_common
implementation library.java.protobuf_java_util
Expand Down Expand Up @@ -72,10 +73,11 @@ dependencies {

testImplementation project(path: ":sdks:java:testing:test-utils")
testImplementation project(path: ":sdks:java:io:google-cloud-platform")
testImplementation project(path: ":sdks:java:extensions:protobuf", configuration: "testRuntimeMigration")
testImplementation project(path: ":sdks:java:io:synthetic")
testImplementation library.java.mockito_inline
testImplementation project(path: ":sdks:java:extensions:google-cloud-platform-core", configuration: "testRuntimeMigration")
testRuntimeOnly project(path: ":runners:direct-java", configuration: "shadowTest")
testImplementation project(path: ":runners:direct-java", configuration: "shadow")
testRuntimeOnly library.java.slf4j_simple
}

Expand All @@ -84,4 +86,6 @@ tasks.register("BigTablePerformanceTest", IoPerformanceTestUtilities.IoPerforman
tasks.register("BigQueryPerformanceTest", IoPerformanceTestUtilities.IoPerformanceTest, project, 'google-cloud-platform', 'BigQueryIOLT', ['configuration':'medium','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'])
tasks.register("BigQueryStressTest", IoPerformanceTestUtilities.IoPerformanceTest, project, 'google-cloud-platform', 'BigQueryIOST', ['configuration':'medium','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'])
tasks.register("BigQueryStorageApiStreamingPerformanceTest", IoPerformanceTestUtilities.IoPerformanceTest, project, 'google-cloud-platform', 'BigQueryStreamingLT', ['configuration':'large', 'project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'])
tasks.register("PubSubPerformanceTest", IoPerformanceTestUtilities.IoPerformanceTest, project, 'google-cloud-platform', 'PubSubIOLT', ['configuration':'large','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'])
tasks.register("WordCountIntegrationTest", IoPerformanceTestUtilities.IoPerformanceTest, project, 'google-cloud-platform', 'WordCountIT', ['project':'apache-beam-testing', 'artifactBucket':'io-performance-temp'])

Loading

0 comments on commit ae8bbf8

Please sign in to comment.