Skip to content

Commit

Permalink
test: add kind kwok e2es to presubmit (#1411)
Browse files Browse the repository at this point in the history
  • Loading branch information
njtran authored Jul 12, 2024
1 parent 56f0708 commit d11f526
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/kind-e2e.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: kind-e2e
on:
# enable running this on merges + presubmits when the action has tests that it will execute
# push:
# branches: [main]
# pull_request:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
test-kind:
kind-e2e:
permissions:
issues: write
runs-on: ubuntu-latest
Expand Down Expand Up @@ -69,8 +68,12 @@ jobs:
run: |
OUTPUT_DIR=$(mktemp -d)
export OUTPUT_DIR
echo OUTPUT_DIR="$OUTPUT_DIR" >> "$GITHUB_ENV"
make e2etests
python ./karpenter_eval/main.py
- name: run test analysis
shell: bash
run: |
OUTPUT_DIR=${{ env.OUTPUT_DIR }} python ./karpenter_eval/main.py
- name: cleanup
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion test/suites/perf/scheduling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ var _ = Describe("Performance", func() {
nodeClaims := &v1.NodeClaimList{}
g.Expect(env.Client.List(env, nodeClaims, client.MatchingFields{"status.conditions[*].type": v1.ConditionTypeDrifted})).To(Succeed())
g.Expect(len(nodeClaims.Items)).To(Equal(0))
}).WithTimeout(300 * time.Second).Should(Succeed())
}).WithTimeout(10 * time.Minute).Should(Succeed())
env.TimeIntervalCollector.End("Drift")
})
It("should do complex provisioning", func() {
Expand Down

0 comments on commit d11f526

Please sign in to comment.