[Release] Fix Serve release test (#13303)

The Docker image we were using now uses `ray` users so we have to call
sudo.
This commit is contained in:
Simon Mo 2021-01-14 12:23:53 -08:00 committed by GitHub
parent 321bbe1ffb
commit 16e8c4a69f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ wheel="https://s3-us-west-2.amazonaws.com/ray-wheels/$ray_branch/$commit/ray-$ra
# Serve load testing tool
cur_dir=$(pwd)
cd /tmp && rm -rf wrk && git clone https://github.com/wg/wrk.git wrk && cd wrk && make -j && cp wrk /usr/local/bin
cd /tmp && rm -rf wrk && git clone https://github.com/wg/wrk.git wrk && cd wrk && make -j && sudo cp wrk /usr/local/bin
cd "$cur_dir" || exit
pip install --upgrade pip