beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sourabh Bajaj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BEAM-985) Retry decorator maintains state as uses an iterator
Date Tue, 15 Nov 2016 22:49:59 GMT

     [ 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)

Mime
View raw message