Skip to content
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

[IcebergIO] load tests #33728

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
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
68 changes: 68 additions & 0 deletions it/iceberg/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* License); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.apache.beam.gradle.IoPerformanceTestUtilities

plugins { id 'org.apache.beam.module' }
applyJavaNature(
automaticModuleName: 'org.apache.beam.it.iceberg',
exportJavadoc: false,
)

description = "Apache Beam :: IT :: Iceberg"
ext.summary = "Integration test utilities for Iceberg."

dependencies {
implementation library.java.testcontainers_base
implementation project(path: ":it:testcontainers")
implementation library.java.testcontainers_kafka
implementation library.java.kafka_clients


implementation library.java.slf4j_api
implementation library.java.vendored_guava_32_1_2_jre
implementation project(path: ":it:common")
testImplementation project(path: ":it:google-cloud-platform")
testImplementation project(path: ":sdks:java:io:synthetic")
testImplementation project(path: ":sdks:java:managed")

testImplementation project(path: ":sdks:java:io:iceberg")
testRuntimeOnly project(path: ":sdks:java:io:iceberg:bqms", configuration: "shadow")
testRuntimeOnly library.java.hadoop_auth
testRuntimeOnly library.java.hadoop_client
testRuntimeOnly library.java.bigdataoss_gcs_connector

testImplementation project(path: ":runners:direct-java")
testImplementation project(path: ":runners:google-cloud-dataflow-java")
testImplementation project(path: ":sdks:java:testing:test-utils")
testImplementation project(path: ":sdks:java:extensions:google-cloud-platform-core", configuration: "testRuntimeMigration")
testImplementation project(":sdks:java:io:google-cloud-platform")
testImplementation library.java.google_api_services_dataflow
}

tasks.register(
"IcebergBQMSLoadTestMedium", IoPerformanceTestUtilities.IoPerformanceTest, project, 'iceberg', 'IcebergIOBigQueryMetastoreST',
['configuration':'medium','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp']
+ System.properties
)

tasks.register(
"IcebergBQMSLoadTestLarge", IoPerformanceTestUtilities.IoPerformanceTest, project, 'iceberg', 'IcebergIOBigQueryMetastoreST',
['configuration':'large','project':'apache-beam-testing', 'artifactBucket':'io-performance-temp']
+ System.properties
)

Loading
Loading