Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
ci : test k6 install and load test execution in e2e workflow
- Add another Makefile target for load test execution
- Execute this target in e2e test script

Signed-off-by: Rohan Kumar <[email protected]>
  • Loading branch information
rohanKanojia committed Sep 2, 2025
commit f9ec99c5e7afae287bea530cc21ec6b5f068bdfb
2 changes: 2 additions & 0 deletions .ci/openshift_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,6 @@ make install
export CLEAN_UP_AFTER_SUITE="false"
make test_e2e
bumpLogs

make test_load ARGS="--mode operator --max-vus 250 --separate-namespaces false --test-duration-minutes 25 --dwo-namespace devworkspace-controller --logs-dir ${ARTIFACT_DIR}/load-testing-logs"
make uninstall
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ test_e2e_debug:
mkdir -p /tmp/artifacts
dlv test --listen=:2345 --headless=true --api-version=2 ./test/e2e/cmd/workspaces_test.go -- --ginkgo.fail-fast --ginkgo.junit-report=/tmp/artifacts/junit-workspaces-operator.xml

test_load:
@echo "Starting Load Testing Script..." && \
bash ./test/load/runk6.sh $(ARGS) && \
echo "Done"

### manager: Build manager binary
manager: generate fmt vet
go build -o bin/manager main.go
Expand Down
Loading