Skip to content

Commit 6669a4a

Browse files
utam0kroboquat
authored andcommitted
test: Use larger vm to improve testing speed
1 parent 3be23aa commit 6669a4a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.werft/workspace-run-integration-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ werft log phase "build preview environment" "build preview environment"
108108
git checkout -B "${BRANCH}" && \
109109
git commit -m "${TEMP_COMMIT_MSG}" --allow-empty && \
110110
git push --set-upstream origin "${BRANCH}" && \
111-
werft run github -a with-preview=true
111+
werft run github -a with-preview=true -a with-large-vm=true
112112
) | werft log slice "build preview environment"
113113

114114
for signal in SIGINT SIGTERM EXIT; do
@@ -184,7 +184,7 @@ args+=( "-kubeconfig=/home/gitpod/.kube/config" )
184184
args+=( "-namespace=default" )
185185
[[ "$USERNAME" != "" ]] && args+=( "-username=$USERNAME" )
186186
args+=( "-timeout=120m" )
187-
args+=( "-p=1" )
187+
args+=( "-p=2" )
188188

189189
WK_TEST_LIST=(/workspace/test/tests/components/content-service /workspace/test/tests/components/image-builder /workspace/test/tests/components/ws-daemon /workspace/test/tests/components/ws-manager /workspace/test/tests/workspace)
190190
for TEST_PATH in "${WK_TEST_LIST[@]}"

test/tests/workspace/contexts_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ func runContextTests(t *testing.T, tests []ContextTest) {
141141
for _, ff := range ffs {
142142
for _, test := range tests {
143143
t.Run(test.ContextURL+"_"+ff.Name, func(t *testing.T) {
144+
t.Parallel()
145+
144146
if test.Skip {
145147
t.SkipNow()
146148
}

0 commit comments

Comments
 (0)