Code cleanup for removing the pid file

pull/8990/head
Jonathan A. Sternberg 2017-10-20 09:16:39 -05:00
parent 8c42345c69
commit 75b8d9cd4f
1 changed files with 2 additions and 4 deletions

View File

@ -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)