From 75b8d9cd4f0c8808a5c7c0abfaa7611d6b1c4a29 Mon Sep 17 00:00:00 2001 From: "Jonathan A. Sternberg" Date: Fri, 20 Oct 2017 09:16:39 -0500 Subject: [PATCH] Code cleanup for removing the pid file --- cmd/influxd/run/command_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/influxd/run/command_test.go b/cmd/influxd/run/command_test.go index cd1c83dae7d..2c63373b74e 100644 --- a/cmd/influxd/run/command_test.go +++ b/cmd/influxd/run/command_test.go @@ -3,16 +3,14 @@ package run_test import ( "io/ioutil" "os" - "testing" - "path/filepath" - + "testing" "time" "github.com/influxdata/influxdb/cmd/influxd/run" ) -func TestPIDFile(t *testing.T) { +func TestCommand_PIDFile(t *testing.T) { tmpdir, err := ioutil.TempDir(os.TempDir(), "influxd-test") if err != nil { t.Fatal(err)