Commit e52f391 1 parent d672142 commit e52f391 Copy full SHA for e52f391
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 54
54
cfg=`echo "$test" | sed 's/\.py$/.conf/'`
55
55
python -m scrapyd_k8s -c scrapyd_k8s.sample-docker.conf -c "$cfg" &
56
56
# wait for scrapyd-k8s to become ready
57
- curl --retry 20 --retry-delay 2 --retry-all-errors http://localhost:6800/daemonstatus.json
57
+ sleep 1; curl --retry 20 --retry-delay 2 --retry-all-errors http://localhost:6800/daemonstatus.json
58
58
# run test
59
59
pytest -vv --color=yes "$test"
60
60
# stop scrapyd-k8s again
@@ -190,7 +190,7 @@ jobs:
190
190
[ -e "$cfg" ] || cfg=/dev/null
191
191
python -m scrapyd_k8s -c scrapyd_k8s.sample-k8s.conf -c "$cfg" &
192
192
# wait for scrapyd-k8s to become ready
193
- curl --retry 20 --retry-delay 2 --retry-all-errors http://localhost:6800/daemonstatus.json
193
+ sleep 1; curl --retry 20 --retry-delay 2 --retry-all-errors http://localhost:6800/daemonstatus.json
194
194
# run test
195
195
pytest -vv --color=yes "$test"
196
196
# stop scrapyd-k8s again
You can’t perform that action at this time.
0 commit comments