Adding script to verify no UUID generation done in state store
This commit is contained in:
parent
7682ba3495
commit
1deccbe074
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