Skip to content

Commit

Permalink
Tune VM tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelroquetto committed Sep 23, 2024
1 parent c3901b2 commit ceae9ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,13 @@ run-integration-test-k8s:
.PHONY: run-integration-test-vm
run-integration-test-vm:
@echo "### Running integration tests"
go test -p 1 -failfast -v -timeout 60m -mod vendor -a ./test/integration/... --tags=integration -run "^TestMultiProcess"
go test -p 1 -failfast -v -timeout 120m -mod vendor -a ./test/integration/... --tags=integration -run "^TestMultiProcess"

.PHONY: run-integration-test-arm
run-integration-test-arm:
@echo "### Running integration tests"
go clean -testcache
go test -p 1 -failfast -v -timeout 60m -mod vendor -a ./test/integration/... --tags=integration -run "^TestMultiProcess"
go test -p 1 -failfast -v -timeout 120m -mod vendor -a ./test/integration/... --tags=integration -run "^TestMultiProcess"

.PHONY: integration-test
integration-test: prereqs prepare-integration-test
Expand Down
2 changes: 1 addition & 1 deletion test/vm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $(ROOT_IMG): Dockerfile
qemu-img convert $(ROOT_IMAGE_RAW) -O qcow2 $(ROOT_IMG) && rm $(ROOT_IMAGE_RAW)

launchvm: check_qemu $(ROOT_IMG) $(TEST_OUTPUT)
qemu-system-$(ARCH) -enable-kvm -cpu host -m 5120 -smp 8 -kernel $(KERNEL) -drive file=$(ROOT_IMG),format=qcow2 \
qemu-system-$(ARCH) -enable-kvm -cpu host -m 5120 -smp 4 -kernel $(KERNEL) -drive file=$(ROOT_IMG),format=qcow2 \
-append "earlyprintk=ttyS0 console=ttyS0 root=/dev/sda rw quiet" \
-virtfs local,path=$(REPO_ROOT),mount_tag=beyla,security_model=mapped,id=beyla \
-virtfs local,path=$(TEST_OUTPUT),mount_tag=testout,security_model=mapped,id=testout \
Expand Down

0 comments on commit ceae9ac

Please sign in to comment.