[
https://issues.apache.org/jira/browse/BEAM-11647?focusedWorklogId=561026&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-561026
]
ASF GitHub Bot logged work on BEAM-11647:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 04/Mar/21 17:43
Start Date: 04/Mar/21 17:43
Worklog Time Spent: 10m
Work Description: ibzib commented on pull request #14134:
URL: https://github.com/apache/beam/pull/14134#issuecomment-790801100
> If I could figure out how to add all the mustRunAfter calls in the
definition of the Precommit task so they were all in one place and only applied
locally to that task, then I'd be ok with it.
You'd have to separate the precommit task into subtasks:
```gradle
task("goBuildAll") {
dependsOn(":foo:goBuild")
dependsOn(":bar:goBuild")
// ...
}
task("goTestAll") {
mustRunAfter(":goBuildAll")
dependsOn(":sdks:go:goTest")
}
task("goPreCommit") {
dependsOn(":goBuildAll")
dependsOn(":goTestAll")
}
```
The main reason to fix this in Gradle and not the Jenkins test definitions
is that Jenkins tests are a pain to run locally. I want to be able to run
`./gradlew :goPreCommit` on my machine without it flaking.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: 561026)
Time Spent: 7h 10m (was: 7h)
> beam_PreCommit_Go_Cron flaky
> ----------------------------
>
> Key: BEAM-11647
> URL: https://issues.apache.org/jira/browse/BEAM-11647
> Project: Beam
> Issue Type: Bug
> Components: sdk-go
> Reporter: Kyle Weaver
> Assignee: Daniel Oliveira
> Priority: P1
> Labels: flake, test-failure
> Time Spent: 7h 10m
> Remaining Estimate: 0h
>
> 10:07:52 Test for github.com/apache/beam/sdks/go/test/integration/synthetic
> finished, 1 completed, 1 failed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)