Skip to content

Commit 10753ec

Browse files
committed
wait for HTTP instead of TCP
1 parent ca309fa commit 10753ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
yarn cypress verify
7373
hugo server --baseURL "http://localhost" --disableFastRender --minify &
7474
# Wait for server to deploy before continuing (with 1 minute timeout)
75-
yarn wait-on tcp:1314 -t 120000
75+
yarn wait-on "http://localhost:1314/generator/" -t 240000
7676
# Only record the Cypress tests if the Cypress env var is set, see:
7777
# https://stackoverflow.com/a/13864829
7878
if [ -z ${CYPRESS_RECORD_KEY+x} ]; then yarn cypress run; else yarn cypress run --record; fi

0 commit comments

Comments
 (0)