[ https://issues.apache.org/jira/browse/BEAM-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16147893#comment-16147893 ]
ASF GitHub Bot commented on BEAM-2644: -------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/beam/pull/3753 > Make it easier to test runtime-accessible ValueProvider's > --------------------------------------------------------- > > Key: BEAM-2644 > URL: https://issues.apache.org/jira/browse/BEAM-2644 > Project: Beam > Issue Type: New Feature > Components: sdk-java-core > Reporter: Eugene Kirpichov > Assignee: Eugene Kirpichov > > Many transforms that take ValueProvider's have different codepaths for when > the provider is accessible or not. However, as far as I can tell, there is no > good way to construct a transform with an inaccessible ValueProvider, and > then test how it runs with an actual value supplied. > The only way I could come up with is mimicking > https://github.com/apache/beam/blob/master/sdks/java/core/src/test/java/org/apache/beam/sdk/options/ValueProviderTest.java#L202 > , which is very ugly. -- This message was sent by Atlassian JIRA (v6.4.14#64029)