Skip to content

Commit

Permalink
[YUNIKORN-2563] [shim] Enable deadlock detection during unit tests (#821
Browse files Browse the repository at this point in the history
)

Closes: #821

Signed-off-by: Chia-Ping Tsai <[email protected]>
  • Loading branch information
pbacsko authored and chia7712 committed Apr 22, 2024
1 parent 04daf62 commit 741c0d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,9 @@ $(RELEASE_BIN_DIR)/$(TEST_SERVER_BINARY): go.mod go.sum $(shell find pkg)

# Run the tests after building
.PHONY: test
test: export DEADLOCK_DETECTION_ENABLED = true
test: export DEADLOCK_TIMEOUT_SECONDS = 10
test: export DEADLOCK_EXIT = true
test:
@echo "running unit tests"
@mkdir -p "$(OUTPUT)"
Expand Down

0 comments on commit 741c0d8

Please sign in to comment.