Skip to content

Commit

Permalink
increase the memory limit when running e2e tests of knative gcp (#2166)
Browse files Browse the repository at this point in the history
  • Loading branch information
capri-xiyue authored Jun 4, 2020
1 parent 18020c5 commit b175c1f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/prod/prow/config_knative.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,21 @@ presubmits:
memory: 16Gi
- unit-tests: true
- integration-tests: true
resources:
requests:
memory: 12Gi # Real request for this pod is 16 as sidecar requests 4
limits:
memory: 16Gi
needs-monitor: true
args:
- "--run-test"
- "./test/e2e-tests.sh"
- custom-test: wi-tests
resources:
requests:
memory: 12Gi # Real request for this pod is 16 as sidecar requests 4
limits:
memory: 16Gi
needs-monitor: true
args:
- "--run-test"
Expand Down
10 changes: 10 additions & 0 deletions config/prod/prow/jobs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2074,6 +2074,11 @@ presubmits:
value: /etc/test-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
resources:
requests:
memory: 12Gi
limits:
memory: 16Gi
volumes:
- name: repoview-token
secret:
Expand Down Expand Up @@ -2112,6 +2117,11 @@ presubmits:
value: /etc/test-account/service-account.json
- name: E2E_CLUSTER_REGION
value: us-central1
resources:
requests:
memory: 12Gi
limits:
memory: 16Gi
volumes:
- name: test-account
secret:
Expand Down

0 comments on commit b175c1f

Please sign in to comment.