This is an automated email from the ASF dual-hosted git repository.
chenyulin0719 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git
The following commit(s) were added to refs/heads/master by this push:
new 23b6b47f [YUNIKORN-3359] Run e2e tests with deadlock detection enabled
(#1064)
23b6b47f is described below
commit 23b6b47f9835211e7bfb82bfbd203a8a0e00958f
Author: PoiBlackTea <[email protected]>
AuthorDate: Thu Aug 20 12:22:08 2026 +0000
[YUNIKORN-3359] Run e2e tests with deadlock detection enabled (#1064)
Closes: #1064
Signed-off-by: Yu-Lin Chen <[email protected]>
---
Makefile | 2 +-
scripts/run-e2e-tests.sh | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index c809f199..d9da446e 100644
--- a/Makefile
+++ b/Makefile
@@ -590,7 +590,7 @@ test:
@echo "running unit tests"
@mkdir -p "$(OUTPUT)"
"$(GO)" clean -testcache
- "$(GO)" test ./pkg/... -cover -race -tags deadlock
-coverprofile="$(OUTPUT)/coverage.txt" -covermode=atomic
+ "$(GO)" test ./pkg/... -cover -race
-coverprofile="$(OUTPUT)/coverage.txt" -covermode=atomic
"$(GO)" vet "$(REPO)"...
# Run benchmarks
diff --git a/scripts/run-e2e-tests.sh b/scripts/run-e2e-tests.sh
index 3adfdce8..aadb82d6 100755
--- a/scripts/run-e2e-tests.sh
+++ b/scripts/run-e2e-tests.sh
@@ -168,7 +168,10 @@ function install_cluster() {
--set admissionController.image.pullPolicy=IfNotPresent \
--set web.image.repository=local/yunikorn \
--set web.image.tag="${WEBTEST_IMAGE}" \
- --set web.image.pullPolicy=IfNotPresent
+ --set web.image.pullPolicy=IfNotPresent \
+ --set deadlockDetection.enabled=true \
+ --set deadlockDetection.timeoutSeconds=10 \
+ --set deadlockDetection.exit=true
exit_on_error "failed to install yunikorn"
"${KUBECTL}" wait --for=condition=available --timeout=300s
deployment/yunikorn-scheduler -n yunikorn
exit_on_error "failed to wait for yunikorn scheduler deployment being
deployed"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]