Skip to content

Commit 9d61391

Browse files
authored
Merge pull request #65 from StackStorm/fix-timeouts
Fix jinja issue in test_packs_pack
2 parents 43b4314 + 4267779 commit 9d61391

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

packs/tests/actions/chains/test_packs_pack.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ chain:
1818
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
1919
ST2_AUTH_TOKEN: "{{token}}"
2020
cmd: "st2 action list --pack {{ pack_to_install_1 }} | grep 'No matching items found'"
21-
timeout: {{test_timeout}}
21+
timeout: "{{test_timeout}}"
2222
on-success: setup_check_pack_to_install_2_installed
2323
on-failure: setup_uninstall_pack_to_install_1
2424
-
@@ -31,7 +31,7 @@ chain:
3131
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
3232
ST2_AUTH_TOKEN: "{{token}}"
3333
cmd: "st2 run packs.uninstall packs={{ pack_to_install_1 }}"
34-
timeout: {{test_timeout}}
34+
timeout: "{{test_timeout}}"
3535
on-success: setup_check_pack_to_install_2_installed
3636
on-failure: error_handler
3737
-
@@ -44,7 +44,7 @@ chain:
4444
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
4545
ST2_AUTH_TOKEN: "{{token}}"
4646
cmd: "st2 action list --pack {{ pack_to_install_2 }} | grep 'No matching items found'"
47-
timeout: {{test_timeout}}
47+
timeout: "{{test_timeout}}"
4848
on-success: test_packs_install_multiple_packs_from_repo
4949
on-failure: setup_uninstall_pack_to_install_2
5050
-
@@ -57,7 +57,7 @@ chain:
5757
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
5858
ST2_AUTH_TOKEN: "{{token}}"
5959
cmd: "st2 run packs.uninstall packs={{ pack_to_install_2 }}"
60-
timeout: {{test_timeout}}
60+
timeout: "{{test_timeout}}"
6161
on-success: test_packs_install_multiple_packs_from_repo
6262
on-failure: error_handler
6363
-
@@ -70,7 +70,7 @@ chain:
7070
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
7171
ST2_AUTH_TOKEN: "{{token}}"
7272
cmd: "st2 run packs.install packs={{ pack_to_install_1 }},{{ pack_to_install_2 }} repo_url={{ base_repo_url }}/{{ install_from_repo }}"
73-
timeout: {{test_timeout}}
73+
timeout: "{{test_timeout}}"
7474
on-success: test_check_pack_to_install_1_installed
7575
on-failure: error_handler
7676
-
@@ -83,7 +83,7 @@ chain:
8383
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
8484
ST2_AUTH_TOKEN: "{{token}}"
8585
cmd: "st2 action list -j --pack {{ pack_to_install_1 }} | grep '{{ pack_to_install_1 }}'"
86-
timeout: {{test_timeout}}
86+
timeout: "{{test_timeout}}"
8787
on-success: test_check_pack_to_install_2_installed
8888
on-failure: error_handler
8989
-
@@ -96,7 +96,7 @@ chain:
9696
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
9797
ST2_AUTH_TOKEN: "{{token}}"
9898
cmd: "st2 action list -j --pack {{ pack_to_install_2 }} | grep '{{ pack_to_install_2 }}'"
99-
timeout: {{test_timeout}}
99+
timeout: "{{test_timeout}}"
100100
on-success: test_packs_uninstall_multiple_packs
101101
on-failure: error_handler
102102
-
@@ -109,7 +109,7 @@ chain:
109109
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
110110
ST2_AUTH_TOKEN: "{{token}}"
111111
cmd: "st2 run packs.uninstall packs={{ pack_to_install_1 }},{{ pack_to_install_2 }}"
112-
timeout: {{test_timeout}}
112+
timeout: "{{test_timeout}}"
113113
on-success: test_check_pack_to_install_1_uninstalled
114114
on-failure: error_handler
115115
-
@@ -122,7 +122,7 @@ chain:
122122
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
123123
ST2_AUTH_TOKEN: "{{token}}"
124124
cmd: "st2 action list --pack {{ pack_to_install_1 }} | grep 'No matching items found'"
125-
timeout: {{test_timeout}}
125+
timeout: "{{test_timeout}}"
126126
on-success: test_check_pack_to_install_2_uninstalled
127127
on-failure: error_handler
128128
-
@@ -135,7 +135,7 @@ chain:
135135
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
136136
ST2_AUTH_TOKEN: "{{token}}"
137137
cmd: "st2 action list --pack {{ pack_to_install_2 }} | grep 'No matching items found'"
138-
timeout: {{test_timeout}}
138+
timeout: "{{test_timeout}}"
139139
on-success: test_packs_download
140140
on-failure: error_handler
141141
-
@@ -148,7 +148,7 @@ chain:
148148
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
149149
ST2_AUTH_TOKEN: "{{token}}"
150150
cmd: "st2 run packs.download packs={{ pack_to_install_1 }}"
151-
timeout: {{test_timeout}}
151+
timeout: "{{test_timeout}}"
152152
on-success: test_packs_setup_virtualenv
153153
on-failure: error_handler
154154
-
@@ -161,7 +161,7 @@ chain:
161161
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
162162
ST2_AUTH_TOKEN: "{{token}}"
163163
cmd: "st2 run packs.setup_virtualenv packs={{ pack_to_install_1 }} | grep 'Successfuly set up'"
164-
timeout: {{test_timeout}}
164+
timeout: "{{test_timeout}}"
165165
on-success: test_packs_load_register_all
166166
on-failure: error_handler
167167
-
@@ -175,7 +175,7 @@ chain:
175175
ST2_AUTH_TOKEN: "{{token}}"
176176
# triggers, sensors, actions, rules, aliases, policy types, policies, configs -> 8
177177
cmd: "st2 run packs.load register=all | grep -c 'Registered' | grep 8"
178-
timeout: {{test_timeout}}
178+
timeout: "{{test_timeout}}"
179179
on-success: test_pack_install_with_no_config
180180
on-failure: error_handler
181181
-
@@ -188,7 +188,7 @@ chain:
188188
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
189189
ST2_AUTH_TOKEN: "{{token}}"
190190
cmd: "st2 run packs.download packs={{ pack_to_install_with_no_config }}"
191-
timeout: {{test_timeout}}
191+
timeout: "{{test_timeout}}"
192192
on-success: test_pack_reinstall_with_no_config
193193
on-failure: error_handler
194194
-
@@ -201,7 +201,7 @@ chain:
201201
ST2_API_URL: "{{protocol}}://{{hostname}}:9101"
202202
ST2_AUTH_TOKEN: "{{token}}"
203203
cmd: "st2 run packs.download packs={{ pack_to_install_with_no_config }}"
204-
timeout: {{test_timeout}}
204+
timeout: "{{test_timeout}}"
205205
on-success: success_handler
206206
on-failure: error_handler
207207
-

0 commit comments

Comments
 (0)