File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packs/tests/actions/chains Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 6969 ST2_AUTH_URL : " {{protocol}}://{{hostname}}:9100"
7070 ST2_API_URL : " {{protocol}}://{{hostname}}:9101"
7171 ST2_AUTH_TOKEN : " {{token}}"
72+ # Note: We sleep to wait for the actual trigger instance to be written
73+ # in the db so the next task retrieves a correct trigger instance
7274 cmd : " st2 key set a b ; sleep 2"
7375 on-success : check_key_create_trigger_instance
7476 -
@@ -116,6 +118,8 @@ chain:
116118 ST2_AUTH_URL : " {{protocol}}://{{hostname}}:9100"
117119 ST2_API_URL : " {{protocol}}://{{hostname}}:9101"
118120 ST2_AUTH_TOKEN : " {{token}}"
121+ # Note: We sleep to wait for the actual trigger instance to be written
122+ # in the db so the next task retrieves a correct trigger instance
119123 cmd : " st2 key set a c ; sleep 2"
120124 on-success : check_key_change_trigger_instance
121125 -
You can’t perform that action at this time.
0 commit comments