You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Sourabh Bajaj (JIRA)" <ji...@apache.org> on 2016/11/15 22:49:59 UTC

[jira] [Updated] (BEAM-985) Retry decorator maintains state as uses an iterator

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

Sourabh Bajaj updated BEAM-985:
-------------------------------
    Description: 
https://github.com/apache/incubator-beam/commit/57c30c752a524a40c7074ea69541964c77f22748

shows two unittests that fail due to state shared by the retry decorator iterator.

We have two options in fixing this:
1) Fix the retry decorator
2) Use an external package such as https://pypi.python.org/pypi/retrying


  was:
https://github.com/apache/incubator-beam/commit/2a207c928ee1edcfd32272abf12ed078d7daf26a

shows two unittests that fail due to state shared by the retry decorator iterator.

We have two options in fixing this:
1) Fix the retry decorator
2) Use an external package such as https://pypi.python.org/pypi/retrying



> Retry decorator maintains state as uses an iterator
> ---------------------------------------------------
>
>                 Key: BEAM-985
>                 URL: https://issues.apache.org/jira/browse/BEAM-985
>             Project: Beam
>          Issue Type: Bug
>            Reporter: Sourabh Bajaj
>            Assignee: Sourabh Bajaj
>             Fix For: 0.4.0-incubating
>
>
> https://github.com/apache/incubator-beam/commit/57c30c752a524a40c7074ea69541964c77f22748
> shows two unittests that fail due to state shared by the retry decorator iterator.
> We have two options in fixing this:
> 1) Fix the retry decorator
> 2) Use an external package such as https://pypi.python.org/pypi/retrying



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)