Skip to content

Commit fb7ce53

Browse files
fixes demo workflow example test
Signed-off-by: Elena Kolevska <[email protected]>
1 parent 2336cf0 commit fb7ce53

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/demo_workflow/app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,17 @@ def main():
139139

140140
# Pause Test
141141
d.pause_workflow(instance_id=instance_id, workflow_component=workflow_component)
142+
sleep(3)
143+
142144
get_response = d.get_workflow(
143145
instance_id=instance_id, workflow_component=workflow_component
144146
)
145147
print(f'Get response from {workflow_name} after pause call: {get_response.runtime_status}')
146148

147149
# Resume Test
148150
d.resume_workflow(instance_id=instance_id, workflow_component=workflow_component)
151+
sleep(3)
152+
149153
get_response = d.get_workflow(
150154
instance_id=instance_id, workflow_component=workflow_component
151155
)

0 commit comments

Comments
 (0)