Skip to content

Commit f9002e1

Browse files
committed
fix(6208): set default protocol to http for integration tests
1 parent 0954f61 commit f9002e1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

internal/pkg/bulk/setup_test.go

+5-2
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,19 @@ import (
2626

2727
var rand = rnd.New()
2828

29-
var defaultCfg config.Config
30-
var defaultCfgData = []byte(`
29+
var (
30+
defaultCfg config.Config
31+
defaultCfgData = []byte(`
3132
output:
3233
elasticsearch:
3334
hosts: '${ELASTICSEARCH_HOSTS:localhost:9200}'
3435
service_token: '${ELASTICSEARCH_SERVICE_TOKEN:test-token}'
36+
protocol: "http"
3537
fleet:
3638
agent:
3739
id: 1e4954ce-af37-4731-9f4a-407b08e69e42
3840
`)
41+
)
3942

4043
const testPolicy = `{
4144
"properties": {

0 commit comments

Comments
 (0)