Skip to content

Commit

Permalink
fix(sdk): set mod readonly for go tests
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Aug 2, 2024
1 parent 3697080 commit 2867d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2867d33

Please sign in to comment.