mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-19 04:06:24 +00:00
Include cmd/options in Makefile's test
1. Why is this change necessary ? Solves kubernetes/node-problem-detector#163 2. How does this change address the issue ? Unit testing for node-problem-detector/cmd/options is yet to be done and the corresponding package path needs to be included in makefile test 3. How to verify this change ? make test command should run the test TestSetNodeNameOrDie with admin privileges. Signed-off-by: gkGaneshR <gkganesh126@gmail.com>
This commit is contained in:
@@ -87,7 +87,7 @@ Dockerfile: Dockerfile.in
|
||||
sed -e 's|@BASEIMAGE@|$(BASEIMAGE)|g' $< >$@
|
||||
|
||||
test: vet fmt
|
||||
go test -timeout=1m -v -race ./pkg/... $(BUILD_TAGS)
|
||||
go test -timeout=1m -v -race ./cmd/options ./pkg/... $(BUILD_TAGS)
|
||||
|
||||
build-container: ./bin/node-problem-detector Dockerfile
|
||||
docker build -t $(IMAGE) .
|
||||
|
||||
Reference in New Issue
Block a user