Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CMGS committed Feb 3, 2023
1 parent 8c86efa commit c1a9e48
Show file tree
Hide file tree
Showing 5 changed files with 823 additions and 57 deletions.
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ mock: deps
mockery --dir store/etcdv3/meta --output store/etcdv3/meta/mocks --all
mockery --dir vendor/go.etcd.io/etcd/client/v3 --output store/etcdv3/meta/mocks --name Txn
mockery --dir rpc/gen/ --output rpc/mocks --name CoreRPC_RunAndWaitServer
mockery --dir resources --output resources/mocks --all
mockery --dir resource3 --output resource3/mocks --name Manager
mockery --dir resource3/plugins --output resource3/plugins/mocks --name Plugin

.ONESHELL:

Expand All @@ -60,10 +61,8 @@ unit-test:
./lock/etcdlock/... \
./auth/simple/... \
./discovery/helium... \
./resources/cpumem/models/... \
./resources/cpumem/schedule/... \
./resources/volume/models/... \
./resources/volume/schedule/... \
./resource3/plugins/cpumem/. \
./resource3/plugins/cpumem/schedule/. \
./wal/. \
./wal/kv/. \
./store/redis/... \
Expand Down
74 changes: 37 additions & 37 deletions cluster/mocks/Cluster.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c1a9e48

Please sign in to comment.