You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Jozef Vilcek (Jira)" <ji...@apache.org> on 2020/03/15 14:20:00 UTC

[jira] [Assigned] (BEAM-5265) Can not test Timer with processing time domain

     [ https://issues.apache.org/jira/browse/BEAM-5265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Vilcek reassigned BEAM-5265:
----------------------------------

    Assignee:     (was: Jozef Vilcek)

> Can not test Timer with processing time domain
> ----------------------------------------------
>
>                 Key: BEAM-5265
>                 URL: https://issues.apache.org/jira/browse/BEAM-5265
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-core, runner-direct
>            Reporter: Jozef Vilcek
>            Priority: Major
>          Time Spent: 4.5h
>  Remaining Estimate: 0h
>
> I have a stateful DoFn which has a timer on PROCESSING_TIME domain. While writing tests, I noticed that it does not react to `advanceProcessingTime()` on tests stream. Problem seems to be here:
> [https://github.com/apache/beam/blob/master/runners/core-java/src/main/java/org/apache/beam/runners/core/SimpleDoFnRunner.java#L260]
> I can only tell that patching this place works for direct runner tests. Not sure about broader impact on other runners since it is in `runner-core`



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