From 1917aa6f756c971dba66cb596a7cfb27edb0eeb5 Mon Sep 17 00:00:00 2001 From: Ivan Valdes Date: Tue, 29 Oct 2024 10:53:57 -0700 Subject: [PATCH] Makefile: remove sudo from test-robustness target Signed-off-by: Ivan Valdes --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f5a6703a0..42a80cfbd 100644 --- a/Makefile +++ b/Makefile @@ -90,11 +90,10 @@ 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 for now -# TODO: Remove sudo once we fully migrate to the prow infrastructure +.PHONY: test-robustness # Running robustness tests requires to run as superuser 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 + env PATH=$$PATH go test -v ${TESTFLAGS} ./tests/dmflakey -test.root + env PATH=$(PWD)/bin:$$PATH go test -v ${TESTFLAGS} ${ROBUSTNESS_TESTFLAGS} ./tests/robustness -test.root .PHONY: test-benchmark-compare # Runs benchmark tests on the current git ref and the given REF, and compares