diff --git a/tests/robustness/makefile.mk b/tests/robustness/makefile.mk index 480f84cc81a6..8b2f2ade3a85 100644 --- a/tests/robustness/makefile.mk +++ b/tests/robustness/makefile.mk @@ -98,9 +98,7 @@ $(GOPATH)/bin/gofail: tools/mod/go.mod tools/mod/go.sum cd /tmp/etcd-v3.5.$*-failpoints/; \ git clone --depth 1 --branch v3.5.$* https://github.com/etcd-io/etcd.git .; \ go get go.etcd.io/gofail@${GOFAIL_VERSION}; \ - (cd server; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ - (cd etcdctl; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ - (cd etcdutl; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ + (cd tools/mod; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ FAILPOINTS=true ./build; /tmp/etcd-v3.5.12-beforeSendWatchResponse/bin: $(GOPATH)/bin/gofail @@ -112,9 +110,6 @@ $(GOPATH)/bin/gofail: tools/mod/go.mod tools/mod/go.sum patch -l server/etcdserver/api/v3rpc/watch.go ./beforeSendWatchResponse/watch.patch; \ patch -l build.sh ./beforeSendWatchResponse/build.patch; \ go get go.etcd.io/gofail@${GOFAIL_VERSION}; \ - (cd server; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ - (cd etcdctl; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ - (cd etcdutl; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ (cd tools/mod; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ FAILPOINTS=true ./build; @@ -124,9 +119,7 @@ $(GOPATH)/bin/gofail: tools/mod/go.mod tools/mod/go.sum cd /tmp/etcd-release-3.5-failpoints/; \ git clone --depth 1 --branch release-3.5 https://github.com/etcd-io/etcd.git .; \ go get go.etcd.io/gofail@${GOFAIL_VERSION}; \ - (cd server; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ - (cd etcdctl; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ - (cd etcdutl; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ + (cd tools/mod; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ FAILPOINTS=true ./build; /tmp/etcd-v3.4.23-failpoints/bin: @@ -136,6 +129,7 @@ $(GOPATH)/bin/gofail: tools/mod/go.mod tools/mod/go.sum cd /tmp/etcd-v3.4.$*-failpoints/; \ git clone --depth 1 --branch v3.4.$* https://github.com/etcd-io/etcd.git .; \ go get go.etcd.io/gofail@${GOFAIL_VERSION}; \ + (cd tools/mod; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ FAILPOINTS=true ./build; /tmp/etcd-release-3.4-failpoints/bin: $(GOPATH)/bin/gofail @@ -144,4 +138,5 @@ $(GOPATH)/bin/gofail: tools/mod/go.mod tools/mod/go.sum cd /tmp/etcd-release-3.4-failpoints/; \ git clone --depth 1 --branch release-3.4 https://github.com/etcd-io/etcd.git .; \ go get go.etcd.io/gofail@${GOFAIL_VERSION}; \ + (cd tools/mod; go get go.etcd.io/gofail@${GOFAIL_VERSION}); \ FAILPOINTS=true ./build;