Skip to content

Commit

Permalink
Update logs_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jagan2221 authored Sep 16, 2024
1 parent 182ce08 commit dd7c8f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/helm/logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,16 @@ metadata:
require.Equal(t, expected, otelConfig)
}

func TestMetadataOtelConfigSystemdDisabled(t *testing.T) {
func TestMetadataOtelConfigSystemdAndKubeletDisabled(t *testing.T) {
t.Parallel()
templatePath := "templates/logs/otelcol/configmap.yaml"
valuesYaml := `
sumologic:
logs:
systemd:
enabled: false
kubelet:
enabled: false
`
otelConfigYaml := GetOtelConfigYaml(t, valuesYaml, templatePath)

Expand Down

0 comments on commit dd7c8f0

Please sign in to comment.