[
https://issues.apache.org/jira/browse/BEAM-4201?focusedWorklogId=102269&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-102269
]
ASF GitHub Bot logged work on BEAM-4201:
----------------------------------------
Author: ASF GitHub Bot
Created on: 15/May/18 20:06
Start Date: 15/May/18 20:06
Worklog Time Spent: 10m
Work Description: kennknowles commented on a change in pull request
#5347: [BEAM-4201][SQL] Add integration test for PubsubIO JSON -> SQL
URL: https://github.com/apache/beam/pull/5347#discussion_r188419104
##########
File path: sdks/java/extensions/sql/build.gradle
##########
@@ -158,3 +160,26 @@ task runPojoExample(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
args = ["--runner=DirectRunner"]
}
+
+
+task integrationTest(type: Test) {
+ group = "Verification"
+ def gcpProject = project.findProperty('gcpProject') ?: 'apache-beam-testing'
+
+ systemProperty "beamTestPipelineOptions", JsonOutput.toJson([
+ "--project=${gcpProject}",
+ "--blockOnRun=false"
+ ])
+
+ include '**/*IT.class'
+ maxParallelForks 4
+ classpath =
project(":beam-sdks-java-extensions-sql").sourceSets.test.runtimeClasspath
+ testClassesDirs =
files(project(":beam-sdks-java-extensions-sql").sourceSets.test.output.classesDirs)
+ useJUnit { }
+}
+
+task postCommit {
Review comment:
nit that is not your problem - I think mostly that modules should define
suites and the top level should choose pre/post commit
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 102269)
Time Spent: 4h 50m (was: 4h 40m)
> Integration Tests for PubsubIO
> ------------------------------
>
> Key: BEAM-4201
> URL: https://issues.apache.org/jira/browse/BEAM-4201
> Project: Beam
> Issue Type: Improvement
> Components: dsl-sql
> Reporter: Anton Kedin
> Assignee: Anton Kedin
> Priority: Major
> Time Spent: 4h 50m
> Remaining Estimate: 0h
>
> Add integration tests for PubsubIO
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)