[
https://issues.apache.org/jira/browse/BEAM-9500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548641#comment-17548641
]
Danny McCormick commented on BEAM-9500:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/20264
> Refactor load tests
> -------------------
>
> Key: BEAM-9500
> URL: https://issues.apache.org/jira/browse/BEAM-9500
> Project: Beam
> Issue Type: Improvement
> Components: testing
> Reporter: Michał Walenia
> Priority: P3
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> `make {{LoadTest}} parameterized instead of a base class.
> Each subclass of {{LoadTest}} is really just the main {{loadTest}} function
> and really that function is about the same as writing a {{PTransform}}. If
> you eliminate subclassing you can have {{LoadTest}} own the pipeline setup
> with so it will never be possible to forget or mess up
> {{readSourceFromOptions}} and {{ParDo.of(runtimeMonitor)}}. It will be less
> repeat boilerplate.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)