Skip to content

Commit 1f1b6f4

Browse files
authored
CI: switch e2e tests to large GitHub runner (#661)
Switch e2e tests workflow from `small` runners (20 cores / RAM 64 GiB) to `large` runners (32 cores / RAM 128 GiB) to speed up the workflow. The PR also contains a fix for `autoscaling` e2e test, which started to fail only after switching to `large` runners. After VM creation with 0.5 CU and min 0.25 CU we check that it has 0.5 CU. It seems, on `small` runners, load avg is higher when we check CU, and autoscaler doesn't scale down the VM from the beginning as quickly as it does on `large` runners.
1 parent c37c98b commit 1f1b6f4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/e2e-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
cluster:
2626
- k3d
2727
- kind
28-
runs-on: [ self-hosted, gen3, small ]
28+
runs-on: [ self-hosted, gen3, large ]
2929
steps:
3030
- uses: actions/checkout@v3
3131
with:

tests/e2e/autoscaling/00-assert.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,5 @@ status:
1111
conditions:
1212
- type: Available
1313
status: "True"
14-
# This is the "canonical form" for Kubernetes. Even if we pass 1, it will work but the created resource will have "1".
15-
# This assert checks Kubernetes output (not input), so we need quotes
16-
cpus: 500m
14+
cpus: 250m
1715
memorySize: 1Gi

0 commit comments

Comments
 (0)