Skip to content

Commit

Permalink
feat(e2e-memory): Reduce the amount of memory used by Happy Path test…
Browse files Browse the repository at this point in the history
…s in order to fit in 4GB of memory (instead of 8GB of memory)

Change-Id: I2cd0a302f6a02fe05ca51b1da1880c1aa1cac2ee
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
  • Loading branch information
benoitf committed Jan 5, 2021
1 parent 90b7fed commit 0a783ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/files/happy-path/containers-happy-path.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
image: centos/mysql-57-centos7
resources:
requests:
memory: 512Mi
memory: 256Mi
env:
- name: MYSQL_USER
value: petclinic
Expand Down Expand Up @@ -100,7 +100,7 @@ spec:
image: mariolet/petclinic:d2831f9b
resources:
requests:
memory: 2000Mi
memory: 512Mi
ports:
- containerPort: 8080
---
Expand Down
5 changes: 3 additions & 2 deletions tests/e2e/files/happy-path/happy-path-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ projects:
components:
- type: cheEditor
id: eclipse/che-theia/next
memoryLimit: 768Mi
memoryLimit: 512Mi
- type: kubernetes
alias: petclinic-web
reference: https://raw.githubusercontent.com/eclipse/che/master/tests/e2e/files/happy-path/containers-happy-path.yaml
Expand All @@ -31,10 +31,11 @@ components:
env:
- name: MAVEN_CONFIG
value: /home/user/.m2
memoryLimit: 3Gi
memoryLimit: 1500Mi
mountSources: true
- type: chePlugin
id: redhat/java/latest
memoryLimit: "1000Mi"
preferences:
java.server.launchMode: Standard
- type: chePlugin
Expand Down

0 comments on commit 0a783ee

Please sign in to comment.