ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxmrlv <...@git.apache.org>
Subject [GitHub] incubator-ariatosca pull request #175: ARIA-299 Resuming canceled execution ...
Date Mon, 10 Jul 2017 09:19:47 GMT
Github user mxmrlv commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/175#discussion_r126370031
  
    --- Diff: tests/orchestrator/test_workflow_runner.py ---
    @@ -441,8 +509,42 @@ def mock_resuming_task(ctx):
         ctx.node.attributes['invocations'] += 1
     
         if ctx.node.attributes['invocations'] != 1:
    -        events['is_active'].set()
    -        if not events['is_resumed'].isSet():
    +        custom_events['is_active'].set()
    +        if not custom_events['is_resumed'].isSet():
                 # if resume was called, increase by one. o/w fail the execution - second
task should
                 # fail as long it was not a part of resuming the workflow
                 raise BaseException("wasn't resumed yet")
    +
    +
    +@workflow
    +def mock_sequential_workflow(ctx, graph):
    --- End diff --
    
    rename


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message