mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 05:45:46 +00:00
ae1c6fd2c0
This picks up the fix for https://github.com/hashicorp/raft/issues/212, which can cause out-of-date followers to get stuck in a loop trying to sync because they don't discard old snapshot data. There's some incidental reordering of the vendor.json since the last update to that file was merged by hand.
18 lines
379 B
Makefile
18 lines
379 B
Makefile
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
|
|
|
test:
|
|
go test -timeout=60s ./...
|
|
|
|
integ: test
|
|
INTEG_TESTS=yes go test -timeout=25s -run=Integ ./...
|
|
|
|
deps:
|
|
go get -d -v ./...
|
|
echo $(DEPS) | xargs -n1 go get -d
|
|
|
|
cov:
|
|
INTEG_TESTS=yes gocov test github.com/hashicorp/raft | gocov-html > /tmp/coverage.html
|
|
open /tmp/coverage.html
|
|
|
|
.PHONY: test cov integ deps
|