From 2867d33715102bc13a2290ebc49d0a84afabbe5d Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Fri, 2 Aug 2024 11:56:08 -0500 Subject: [PATCH] fix(sdk): set mod readonly for go tests Signed-off-by: Artur Troian --- make/test.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/test.mk b/make/test.mk index a3af1089..0489f39d 100644 --- a/make/test.mk +++ b/make/test.mk @@ -10,7 +10,7 @@ ts GO_TEST_OPTS ?= GO_TEST_TIMEOUT ?= 300 -test_go_flags := -timeout $(GO_TEST_TIMEOUT)s +test_go_flags := -mod=readonly -timeout $(GO_TEST_TIMEOUT)s ifneq (,$(findstring nocache,$(GO_TEST_OPTS))) test_go_flags += -count=1