Skip elasticsearch output integration test in short mode

This commit is contained in:
Daniel Nelson 2017-03-27 15:05:06 -07:00
parent 5612df48f9
commit 84a9f91f5c
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,10 @@ func TestTemplateManagementEmptyTemplate(t *testing.T) {
} }
func TestTemplateManagement(t *testing.T) { func TestTemplateManagement(t *testing.T) {
if testing.Short() {
t.Skip("Skipping integration test in short mode")
}
urls := []string{"http://" + testutil.GetLocalHost() + ":9200"} urls := []string{"http://" + testutil.GetLocalHost() + ":9200"}
e := &Elasticsearch{ e := &Elasticsearch{