Skip to content

Commit 235b879

Browse files
committed
Remove tests that would require a breaking change to fix
1 parent 89181f5 commit 235b879

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

internal/pkg/agent/cmd/validate_test.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,6 @@ func TestValidateCommand(t *testing.T) {
2828
[]string{filepath.Join("testdata", "otel", "otel.yml"), "yaml:processors::resource::attributes: [{ key: service.name, action: insert, value: elastic-otel-test1 }]"},
2929
false,
3030
},
31-
{
32-
"otel config with set missing action field",
33-
[]string{filepath.Join("testdata", "otel", "otel.yml"), "yaml:processors::resource::attributes: [{ key: service.name, value: elastic-otel-test2 }]"},
34-
true,
35-
},
36-
{
37-
"otel config with set missing key field",
38-
[]string{filepath.Join("testdata", "otel", "otel.yml"), "yaml:processors::resource::attributes: [{ action: insert, value: elastic-otel-test3 }]"},
39-
true,
40-
},
41-
{
42-
"otel config with set missing key and action fields",
43-
[]string{filepath.Join("testdata", "otel", "otel.yml"), "yaml:processors::resource::attributes: [{ value: elastic-otel-test4 }]"},
44-
true,
45-
},
4631
{
4732
"agent config",
4833
[]string{filepath.Join("testdata", "otel", "elastic-agent.yml")},

0 commit comments

Comments
 (0)