Skip to content

Use 4 core runners in e2e tests #319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 1 addition & 20 deletions .github/workflows/e2e_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,9 @@ concurrency:
jobs:
kubernetes-e2e:

runs-on: ubuntu-20.04
runs-on: ubuntu-20.04-4core

steps:
- name: Cleanup
run: |
ls -lart
echo "Initial status:"
df -h

echo "Cleaning up resources:"
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
docker rmi $(docker image ls -aq)

echo "Final status:"
df -h

- name: Checkout code
uses: actions/checkout@v3
with:
Expand Down
21 changes: 1 addition & 20 deletions .github/workflows/olm_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
kubernetes-olm-upgrade:
runs-on: ubuntu-20.04
runs-on: ubuntu-20.04-4core
timeout-minutes: 60
env:
OLM_VERSION: v0.24.0
Expand All @@ -30,25 +30,6 @@ jobs:
CODEFLARE_TEST_TIMEOUT_LONG: "10m"

steps:
- name: Cleanup
run: |
ls -lart
echo "Initial status:"
df -h

echo "Cleaning up resources:"
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
docker rmi $(docker image ls -aq)

echo "Final status:"
df -h

- uses: actions/checkout@v3
with:
fetch-depth: 0 # fetching also previous commits to get tags
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/mnist_pytorch_mcad_job_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ func TestMNISTPyTorchMCAD(t *testing.T) {
{
Replicas: 1,
Requests: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("100m"),
corev1.ResourceCPU: resource.MustParse("250m"),
corev1.ResourceMemory: resource.MustParse("512Mi"),
},
Limits: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("500m"),
corev1.ResourceCPU: resource.MustParse("1"),
corev1.ResourceMemory: resource.MustParse("1G"),
},
},
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/mnist_rayjob_mcad_raycluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func TestMNISTRayJobMCADRayCluster(t *testing.T) {
},
Limits: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("1"),
corev1.ResourceMemory: resource.MustParse("512Mi"),
corev1.ResourceMemory: resource.MustParse("1G"),
},
},
},
Expand Down