mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
test: now raft has no shadow issue
We can test raft pkg now!
This commit is contained in:
parent
778f8d8fea
commit
a6e67a6dec
5
test
5
test
@ -76,11 +76,6 @@ fi
|
||||
|
||||
echo "Checking govet -shadow..."
|
||||
for path in $FMT; do
|
||||
# only check go files under raft dir because
|
||||
# auto generated file in raft/raftpb cannot pass shadow test
|
||||
if [ "${path}" == "raft" ]; then
|
||||
path="raft/*.go"
|
||||
fi
|
||||
vetRes=$(go tool vet -shadow ${path})
|
||||
if [ -n "${vetRes}" ]; then
|
||||
echo -e "govet checking ${path} failed:\n${vetRes}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user