mirror of https://github.com/status-im/consul.git
Adding script to verify no UUID generation done in state store
This commit is contained in:
parent
fe125992fe
commit
f3063b25c1
1
Makefile
1
Makefile
|
@ -15,6 +15,7 @@ deps:
|
|||
@echo $(DEPS) | xargs -n1 go get -d
|
||||
|
||||
test: deps
|
||||
./scripts/verify_no_uuid.sh
|
||||
go list ./... | xargs -n1 go test
|
||||
|
||||
integ:
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
grep generateUUID consul/state_store.go
|
||||
RESULT=$?
|
||||
|
||||
if [ $RESULT -eq 0 ]; then
|
||||
exit 1
|
||||
fi
|
Loading…
Reference in New Issue