“Run SQL PostCommit” is essentially running “./gradlew :sqlPostCommit” [1]

In your case where you would like to run DataStoreReadWriteIT only, it can be 
simplified [2] to 

"./gradlew :sdks:java:extensions:sql:postCommit”

Best,
Ke

[1] 
https://github.com/apache/beam/blob/master/.test-infra/jenkins/job_PostCommit_SQL.groovy#L41
 
<https://github.com/apache/beam/blob/master/.test-infra/jenkins/job_PostCommit_SQL.groovy#L41>
 
[2] https://github.com/apache/beam/blob/master/build.gradle.kts#L190 
<https://github.com/apache/beam/blob/master/build.gradle.kts#L190> 


> On Jul 29, 2021, at 9:58 AM, Alex Amato <ajam...@google.com> wrote:
> 
> I was hoping for the command line to run it. So that the test could be 
> tweaked to inject an error, and ensure the error handling code works as 
> expected
> 
> On Wed, Jul 28, 2021 at 8:34 PM Ke Wu <ke.wu...@gmail.com 
> <mailto:ke.wu...@gmail.com>> wrote:
> Comment the PR with "Run SQL PostCommit” would trigger the post commit 
> integration tests for SQL, which I suppose includes DataStoreReadWriteIT
> 
> Let me know if whether or not this is sufficient.
> 
> Best,
> Ke
> 
>> On Jul 28, 2021, at 12:20 PM, Alex Amato <ajam...@google.com 
>> <mailto:ajam...@google.com>> wrote:
>> 
>> Is it possible to run a Datastore IO integration test to test this PR?
>> 
>> https://github.com/apache/beam/pull/15183/files 
>> <https://github.com/apache/beam/pull/15183/files>
>> 
>> Probably this test can be ran somehow. Though I don't know the gradle 
>> command to run it
>> https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/meta/provider/datastore/DataStoreReadWriteIT.java
>>  
>> <https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/src/test/java/org/apache/beam/sdk/extensions/sql/meta/provider/datastore/DataStoreReadWriteIT.java>
>> 
>> Does anyone know how to run this test?
> 

Reply via email to