From 6664240e05a14333b4a6cd7434b2977dc0a1f82e Mon Sep 17 00:00:00 2001 From: Ivan Valdes Date: Thu, 24 Oct 2024 15:31:01 -0700 Subject: [PATCH] Add comment regarding sudo in Makefile robustness target Signed-off-by: Ivan Valdes --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2e0c09f..f5a6703 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,8 @@ test-failpoint: @echo "[failpoint] array freelist test" BBOLT_VERIFY=all TEST_FREELIST_TYPE=array go test -v ${TESTFLAGS} -timeout 30m ./tests/failpoint -.PHONY: test-robustness # Running robustness tests requires root permission +.PHONY: test-robustness # Running robustness tests requires root permission for now +# TODO: Remove sudo once we fully migrate to the prow infrastructure test-robustness: gofail-enable build sudo env PATH=$$PATH go test -v ${TESTFLAGS} ./tests/dmflakey -test.root sudo env PATH=$(PWD)/bin:$$PATH go test -v ${TESTFLAGS} ${ROBUSTNESS_TESTFLAGS} ./tests/robustness -test.root