From c537033129d6b4d19850bb610b615c4c3eeef7d5 Mon Sep 17 00:00:00 2001 From: Vadim Hatsura Date: Wed, 7 Aug 2024 20:14:10 +0200 Subject: [PATCH] chore: regenerate snapshots for dependent producer --- ...Confluent.Kafka.Extensions.Diagnostics.Tests.csproj | 1 - .../KafkaDiagnosticsTests.DependentProduce.snap | 8 +++----- .../KafkaDiagnosticsTests.DependentProduceAsync.snap | 10 ++++------ 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/Confluent.Kafka.Extensions.Diagnostics.Tests.csproj b/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/Confluent.Kafka.Extensions.Diagnostics.Tests.csproj index 31f76ca..1ec24f8 100644 --- a/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/Confluent.Kafka.Extensions.Diagnostics.Tests.csproj +++ b/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/Confluent.Kafka.Extensions.Diagnostics.Tests.csproj @@ -9,7 +9,6 @@ - diff --git a/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/__snapshots__/KafkaDiagnosticsTests.DependentProduce.snap b/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/__snapshots__/KafkaDiagnosticsTests.DependentProduce.snap index 502162a..a1791c3 100644 --- a/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/__snapshots__/KafkaDiagnosticsTests.DependentProduce.snap +++ b/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/__snapshots__/KafkaDiagnosticsTests.DependentProduce.snap @@ -1,10 +1,9 @@ { "Status": "Ok", "StatusDescription": null, - "HasRemoteParent": false, "Kind": "Producer", - "OperationName": "produce_topic publish", - "DisplayName": "produce_topic publish", + "OperationName": "dependent_produce_topic publish", + "DisplayName": "dependent_produce_topic publish", "Source": { "Name": "Confluent.Kafka.Extensions.Diagnostics", "Version": "" @@ -26,7 +25,7 @@ }, { "Key": "messaging.destination.name", - "Value": "produce_topic" + "Value": "dependent_produce_topic" }, { "Key": "messaging.kafka.destination.partition", @@ -54,6 +53,5 @@ "IsAllDataRequested": false, "ActivityTraceFlags": "None", "ParentSpanId": {}, - "IsStopped": true, "IdFormat": "W3C" } diff --git a/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/__snapshots__/KafkaDiagnosticsTests.DependentProduceAsync.snap b/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/__snapshots__/KafkaDiagnosticsTests.DependentProduceAsync.snap index e1a35ba..fd24eb6 100644 --- a/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/__snapshots__/KafkaDiagnosticsTests.DependentProduceAsync.snap +++ b/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/__snapshots__/KafkaDiagnosticsTests.DependentProduceAsync.snap @@ -1,10 +1,9 @@ { "Status": "Ok", "StatusDescription": null, - "HasRemoteParent": false, "Kind": "Producer", - "OperationName": "produce_async_topic publish", - "DisplayName": "produce_async_topic publish", + "OperationName": "dependent_produce_async_topic publish", + "DisplayName": "dependent_produce_async_topic publish", "Source": { "Name": "Confluent.Kafka.Extensions.Diagnostics", "Version": "" @@ -26,7 +25,7 @@ }, { "Key": "messaging.destination.name", - "Value": "produce_async_topic" + "Value": "dependent_produce_async_topic" }, { "Key": "messaging.kafka.destination.partition", @@ -34,7 +33,7 @@ }, { "Key": "messaging.kafka.message.offset", - "Value": "1" + "Value": "0" } ], "Events": [], @@ -54,6 +53,5 @@ "IsAllDataRequested": false, "ActivityTraceFlags": "None", "ParentSpanId": {}, - "IsStopped": true, "IdFormat": "W3C" }