From 5f9d7a75d1ccff145b2247b0ce1a005b4ee42011 Mon Sep 17 00:00:00 2001 From: Miguel Duarte Barroso Date: Fri, 14 Feb 2020 17:12:16 +0100 Subject: [PATCH] workaround: remove flag breaking unit tests The -logtostderr flag is somehow preventing the cni unit tests from running. Can't figure this one out; this is just to show I'm not insane. Signed-off-by: Miguel Duarte Barroso --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1206d1e2..c62c7cb5 100644 --- a/Makefile +++ b/Makefile @@ -77,7 +77,7 @@ test/unit: @echo "You are not root, run this target as root please" exit 1 fi - go test ./cmd/... ./pkg/... -v -logtostderr --ginkgo.v + go test ./cmd/... ./pkg/... -v --ginkgo.v manifests: IMAGE_REGISTRY=$(IMAGE_REGISTRY) IMAGE_NAME=$(IMAGE_NAME) IMAGE_TAG=$(IMAGE_TAG) CNI_MOUNT_PATH=$(CNI_MOUNT_PATH) ./hack/generate-manifests.sh