From 4551b4c5d20b3c93673b5991144b2e98b0b20a39 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Wed, 4 Apr 2018 18:35:05 -0700 Subject: [PATCH] Enable ntpq tests on Windows (#3972) --- Makefile | 1 + plugins/inputs/ntpq/ntpq_test.go | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8b10519a8..9ca4fc458 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,7 @@ test-windows: go test ./plugins/inputs/win_perf_counters/... go test ./plugins/inputs/win_services/... go test ./plugins/inputs/procstat/... + go test ./plugins/inputs/ntpq/... # vet runs the Go source code static analysis tool `vet` to find # any common errors. diff --git a/plugins/inputs/ntpq/ntpq_test.go b/plugins/inputs/ntpq/ntpq_test.go index 33277221d..47b8cf8f4 100644 --- a/plugins/inputs/ntpq/ntpq_test.go +++ b/plugins/inputs/ntpq/ntpq_test.go @@ -1,5 +1,3 @@ -// +build !windows - package ntpq import (