Skip to content

Commit

Permalink
Restores sleeps in test, as it was decided not to invest making synch…
Browse files Browse the repository at this point in the history
…ronous the APIs that are getting deleted next version

Signed-off-by: Elena Kolevska <elena@kolevska.com>
  • Loading branch information
elena-kolevska committed Feb 14, 2025
1 parent 5cc34cb commit 400c74f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/demo_workflow/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,15 @@ def main():

# Pause Test
d.pause_workflow(instance_id=instance_id, workflow_component=workflow_component)
sleep(5)
get_response = d.get_workflow(
instance_id=instance_id, workflow_component=workflow_component
)
print(f'Get response from {workflow_name} after pause call: {get_response.runtime_status}')

# Resume Test
d.resume_workflow(instance_id=instance_id, workflow_component=workflow_component)
sleep(5)
get_response = d.get_workflow(
instance_id=instance_id, workflow_component=workflow_component
)
Expand Down

0 comments on commit 400c74f

Please sign in to comment.