Unit test improved.

This commit is contained in:
Amanda Hager Lopes de Andrade 2016-10-13 16:04:04 -03:00
parent b04f0dafe7
commit 5ca139deba
2 changed files with 11 additions and 12 deletions

View File

@ -1,15 +1,14 @@
package elasticsearch
import (
"encoding/json"
"testing"
"time"
"encoding/json"
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/testutil"
"github.com/stretchr/testify/require"
)
func TestConnectAndWrite(t *testing.T) {