Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wildum committed Apr 29, 2024
1 parent 1787efc commit 4897f33
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions internal/component/otelcol/receiver/kafka/kafka_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ func TestArguments_UnmarshalAlloy(t *testing.T) {
expected: kafkareceiver.Config{
Brokers: []string{"10.10.10.10:9092"},
ProtocolVersion: "2.0.0",
Topic: "otlp_spans",
Encoding: "otlp_proto",
GroupID: "otel-collector",
ClientID: "otel-collector",
Expand Down Expand Up @@ -154,7 +153,6 @@ func TestArguments_Auth(t *testing.T) {
expected: map[string]interface{}{
"brokers": []string{"10.10.10.10:9092"},
"protocol_version": "2.0.0",
"topic": "otlp_spans",
"encoding": "otlp_proto",
"group_id": "otel-collector",
"client_id": "otel-collector",
Expand Down Expand Up @@ -206,7 +204,6 @@ func TestArguments_Auth(t *testing.T) {
expected: map[string]interface{}{
"brokers": []string{"10.10.10.10:9092"},
"protocol_version": "2.0.0",
"topic": "otlp_spans",
"encoding": "otlp_proto",
"group_id": "otel-collector",
"client_id": "otel-collector",
Expand Down Expand Up @@ -264,7 +261,6 @@ func TestArguments_Auth(t *testing.T) {
expected: map[string]interface{}{
"brokers": []string{"10.10.10.10:9092"},
"protocol_version": "2.0.0",
"topic": "otlp_spans",
"encoding": "otlp_proto",
"group_id": "otel-collector",
"client_id": "otel-collector",
Expand Down Expand Up @@ -321,7 +317,6 @@ func TestArguments_Auth(t *testing.T) {
expected: map[string]interface{}{
"brokers": []string{"10.10.10.10:9092"},
"protocol_version": "2.0.0",
"topic": "otlp_spans",
"encoding": "otlp_proto",
"group_id": "otel-collector",
"client_id": "otel-collector",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
otelcol.receiver.kafka "default" {
brokers = ["broker:9092"]
protocol_version = "2.0.0"
topic = ""

authentication {
plaintext {
Expand Down

0 comments on commit 4897f33

Please sign in to comment.