diff --git a/build/test.sh b/build/test.sh index e7c183d..fb7bbda 100755 --- a/build/test.sh +++ b/build/test.sh @@ -6,6 +6,9 @@ if [ -z "$TAG" ]; then TAG="community" fi +# stop node +go run -tags=${TAG} ../cmd/edge-node/main.go stop + # reference: https://pkg.go.dev/cmd/go/internal/test go clean -testcache go test -timeout 10s -tags="${TAG}" -cover ../... \ No newline at end of file