From be92944e77a6be8d91602afa10b4705bfaded2ca Mon Sep 17 00:00:00 2001 From: Zhanghao Wu Date: Wed, 25 Sep 2024 09:25:41 -0700 Subject: [PATCH] [Tests] Add missing changes from #3966 for fast service update test (#3976) Use wget instead of git clone for faster downloading --- tests/skyserve/update/bump_version_after.yaml | 3 +-- tests/skyserve/update/bump_version_before.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/skyserve/update/bump_version_after.yaml b/tests/skyserve/update/bump_version_after.yaml index 8709c8a9a90..6e845f54b9e 100644 --- a/tests/skyserve/update/bump_version_after.yaml +++ b/tests/skyserve/update/bump_version_after.yaml @@ -20,9 +20,8 @@ resources: cpus: 2+ setup: | - git clone https://github.com/skypilot-org/skypilot.git + wget https://raw.githubusercontent.com/skypilot-org/skypilot/refs/heads/master/examples/serve/http_server/server.py run: | - cd skypilot/examples/serve/http_server python3 server.py --port 8081 \ No newline at end of file diff --git a/tests/skyserve/update/bump_version_before.yaml b/tests/skyserve/update/bump_version_before.yaml index c38c4288538..c9fd957e41a 100644 --- a/tests/skyserve/update/bump_version_before.yaml +++ b/tests/skyserve/update/bump_version_before.yaml @@ -20,9 +20,8 @@ resources: cpus: 2+ setup: | - git clone https://github.com/skypilot-org/skypilot.git + wget https://raw.githubusercontent.com/skypilot-org/skypilot/refs/heads/master/examples/serve/http_server/server.py run: | - cd skypilot/examples/serve/http_server python3 server.py --port 8081 \ No newline at end of file