Skip to content

Commit

Permalink
osx: Wait a little longer for the server to start (#87)
Browse files Browse the repository at this point in the history
It would appear that the `macos-latest` had a performance regression and can
not start the Python server within 1 second.
  • Loading branch information
mpkorstanje authored Nov 14, 2022
1 parent fc50e6f commit b0450ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions polyglot-release
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ function check_up_to_date() {
return
fi

local latest_version
latest_version=$(latest_tag_in_git)

if [ "v$POLYGLOT_RELEASE_VERSION" == "$latest_version" ]; then
Expand Down
2 changes: 1 addition & 1 deletion tests/do-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sed -i".tmp" "s/^POLYGLOT_RELEASE_VERSION=.*$/POLYGLOT_RELEASE_VERSION=0.0.2/" .
python3 -m http.server 2>/dev/null &
server_pid=$!
trap 'kill -9 $server_pid' SIGINT SIGQUIT SIGTERM EXIT
sleep 1 # Wait for server to start
sleep 2 # Wait for server to start, not very performant in CI
popd > /dev/null

# Update polyglot release
Expand Down

0 comments on commit b0450ca

Please sign in to comment.