Skip to content

Commit 400c74f

Browse files
Restores sleeps in test, as it was decided not to invest making synchronous the APIs that are getting deleted next version
Signed-off-by: Elena Kolevska <[email protected]>
1 parent 5cc34cb commit 400c74f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/demo_workflow/app.py

+2
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,15 @@ def main():
139139

140140
# Pause Test
141141
d.pause_workflow(instance_id=instance_id, workflow_component=workflow_component)
142+
sleep(5)
142143
get_response = d.get_workflow(
143144
instance_id=instance_id, workflow_component=workflow_component
144145
)
145146
print(f'Get response from {workflow_name} after pause call: {get_response.runtime_status}')
146147

147148
# Resume Test
148149
d.resume_workflow(instance_id=instance_id, workflow_component=workflow_component)
150+
sleep(5)
149151
get_response = d.get_workflow(
150152
instance_id=instance_id, workflow_component=workflow_component
151153
)

0 commit comments

Comments
 (0)