Skip to content

Commit

Permalink
tests - expected failures extended - oomkilled for Cypress (#4453)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkonieczny authored Oct 10, 2023
1 parent 371487a commit 183ca39
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
29 changes: 29 additions & 0 deletions test/edge-cases/failures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,32 @@ spec:
executionRequest:
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n"
activeDeadlineSeconds: 1
---
apiVersion: tests.testkube.io/v3
kind: Test
metadata:
name: expected-fail-cypress-oomkilled
labels:
core-tests: executors
spec:
type: cypress:v12/test
content:
type: git
repository:
type: git
uri: https://github.com/kubeshop/testkube
branch: main
path: test/cypress/executor-tests/cypress-12
executionRequest:
variables:
CYPRESS_CUSTOM_ENV:
name: CYPRESS_CUSTOM_ENV
value: CYPRESS_CUSTOM_ENV_value
type: basic
args:
- --env
- NON_CYPRESS_ENV=NON_CYPRESS_ENV_value
- --config
- video=true
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n limits:\n memory: 30Mi\n cpu: 1\n"
activeDeadlineSeconds: 600
5 changes: 4 additions & 1 deletion test/suites/edge-cases-expected-failures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,7 @@ spec:
- test: expected-fail-jmeter-oomkilled
- stopOnFailure: false
execute:
- test: expected-fail-jmeter-timeout
- test: expected-fail-jmeter-timeout
- stopOnFailure: false
execute:
- test: expected-fail-cypress-oomkilled

0 comments on commit 183ca39

Please sign in to comment.