Skip elasticsearch output integration test in short mode

This commit is contained in:
Daniel Nelson 2017-03-27 15:05:06 -07:00
parent 3bf45f9365
commit a855718cd9
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{