Unit test modified.

This commit is contained in:
amandahla 2016-10-27 09:33:09 -02:00
parent f5dbbd73c2
commit 3be7728ac5
1 changed files with 2 additions and 3 deletions

View File

@ -16,12 +16,11 @@ func TestConnectAndWrite(t *testing.T) {
t.Skip("Skipping integration test in short mode") t.Skip("Skipping integration test in short mode")
} }
//serverhost := "http://" + testutil.GetLocalHost() + ":19200" serverhost := "http://" + testutil.GetLocalHost() + ":19200"
serverhost := "http://10.200.83.10:19200"
e := &Elasticsearch{ e := &Elasticsearch{
ServerHost: serverhost, ServerHost: serverhost,
IndexName: "littletest3%Y%m%d", IndexName: "littletest%Y%m%d",
NumberOfShards: 2, NumberOfShards: 2,
NumberOfReplicas: 2, NumberOfReplicas: 2,
} }