From 6874b9a76b73add8ed8db842337f86bb5df3730a Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Sun, 10 May 2020 14:18:43 -0700 Subject: [PATCH] test: add "mod" to build tests Signed-off-by: Gyuho Lee --- test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test b/test index 7240a992a..cca1e9cc9 100755 --- a/test +++ b/test @@ -672,8 +672,8 @@ function build_cov_pass { # fail fast on static tests function build_pass { echo "Checking build..." - GO_BUILD_FLAGS="-v" etcd_build - GO_BUILD_FLAGS="-v" tools_build + GO_BUILD_FLAGS="-v -mod=mod" etcd_build + GO_BUILD_FLAGS="-v -mod=mod" tools_build } for pass in $PASSES; do