You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robert Burke (Jira)" <ji...@apache.org> on 2020/01/22 18:35:00 UTC
[jira] [Resolved] (BEAM-6148) Support Go "Unit" tests on arbitrary
runners
[ https://issues.apache.org/jira/browse/BEAM-6148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Burke resolved BEAM-6148.
--------------------------------
Fix Version/s: Not applicable
Resolution: Fixed
> Support Go "Unit" tests on arbitrary runners
> --------------------------------------------
>
> Key: BEAM-6148
> URL: https://issues.apache.org/jira/browse/BEAM-6148
> Project: Beam
> Issue Type: New Feature
> Components: sdk-go
> Reporter: Robert Burke
> Assignee: Robert Burke
> Priority: Major
> Fix For: Not applicable
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> There's no clear path to testing pipelines on runners other than the direct runner. It should be possibly to "redirect" tests to use a runner of choice. This would enable more "testy" ValidatesRunner tests in Go.
>
> In particular, users should need to at least _ import the runner they want, and be able to set a flag.
> The tricky bit is ensuring beam.Init is called so that each individual test can convert to WorkerMode when it's spun up as a SDK harness. This can be done by having a TestMain.
> ptest should provide convenience functions to help with this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)