Skip to content

Commit 8eb2d95

Browse files
Adds sleep to test
Signed-off-by: Elena Kolevska <[email protected]>
1 parent b234127 commit 8eb2d95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/demo_workflow/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def main():
186186
sleep(5)
187187
# Terminate Test
188188
d.terminate_workflow(instance_id=instance_id, workflow_component=workflow_component)
189-
sleep(1)
189+
sleep(2)
190190
get_response = d.get_workflow(
191191
instance_id=instance_id, workflow_component=workflow_component
192192
)
@@ -204,6 +204,7 @@ def main():
204204

205205
# Purge Test
206206
d.purge_workflow(instance_id=instance_id, workflow_component=workflow_component)
207+
sleep(2)
207208
try:
208209
d.get_workflow(instance_id=instance_id, workflow_component=workflow_component)
209210
except DaprInternalError as err:

0 commit comments

Comments
 (0)