[ 
https://issues.apache.org/jira/browse/BEAM-2577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17145410#comment-17145410
 ] 

Beam JIRA Bot commented on BEAM-2577:
-------------------------------------

This issue was marked "stale-P2" and has not received a public comment in 14 
days. It is now automatically moved to P3. If you are still affected by it, you 
can comment and move it back to P2.

> IO tests should exercise Runtime Values where supported
> -------------------------------------------------------
>
>                 Key: BEAM-2577
>                 URL: https://issues.apache.org/jira/browse/BEAM-2577
>             Project: Beam
>          Issue Type: Bug
>          Components: io-ideas
>            Reporter: Ben Chambers
>            Priority: P3
>
> The only tests I have found for `ValueProvider<?>` parameterized methods is 
> that they are not evaluated during pipeline construction time. This is 
> missing out on several important pieces:
> 1. 
> https://stackoverflow.com/questions/44967898/notify-when-textio-is-done-writing-a-file
>  seems to be a problem with an AvroIO write using a RuntimeValueProvider 
> being non-serializable (current theory is because of an anonymous inner class 
> capturing the enclosing AvroIO.Write instance which has non-serializable 
> fields).
> 2. Testing that the code paths that actually read the file do so correctly 
> when parameterized.
> We should update the developer documentation to describe what the 
> requirements are for a parameterized IO and provide guidance on what tests 
> are needed and how to write them.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to