From f332bba2ccfc273b26af0f73753c5bf0932b8d3c Mon Sep 17 00:00:00 2001 From: James Crosswell Date: Mon, 14 Sep 2026 13:42:02 +1200 Subject: [PATCH] test: sync net11.0 verify snapshots with #5504 #5504 was branched before #5529 added the DotNet11_0 snapshots, so when both merged into version7 the DotNet11_0 copies never picked up #5504's changes (the [Obsolete] on EnableLogs, and the extra envelope item in WebIntegrationTests.Versioning). version7 has been failing these three tests on net11.0 on every platform since. The new files are the .received.txt files from CI, which are identical across linux, macOS and Windows and to the DotNet10_0 snapshots. Co-Authored-By: Claude Opus 5 --- .../WebIntegrationTests.Versioning.DotNet11_0.verified.txt | 5 +++++ .../ApiApprovalTests.Run.DotNet11_0.verified.txt | 2 ++ .../ApiApprovalTests.Run.DotNet11_0.verified.txt | 2 ++ 3 files changed, 9 insertions(+) diff --git a/test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.DotNet11_0.verified.txt b/test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.DotNet11_0.verified.txt index fcb2b33a90..56556bce47 100644 --- a/test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.DotNet11_0.verified.txt +++ b/test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.DotNet11_0.verified.txt @@ -90,6 +90,11 @@ http.response.status_code: 200 } } + }, + { + Source: { + Length: 7 + } } ] } \ No newline at end of file diff --git a/test/Sentry.NLog.Tests/ApiApprovalTests.Run.DotNet11_0.verified.txt b/test/Sentry.NLog.Tests/ApiApprovalTests.Run.DotNet11_0.verified.txt index 9e7456b450..8934fb57a7 100644 --- a/test/Sentry.NLog.Tests/ApiApprovalTests.Run.DotNet11_0.verified.txt +++ b/test/Sentry.NLog.Tests/ApiApprovalTests.Run.DotNet11_0.verified.txt @@ -59,6 +59,8 @@ namespace Sentry.NLog public NLog.Layouts.Layout? BreadcrumbCategory { get; set; } public NLog.Layouts.Layout? BreadcrumbLayout { get; set; } public NLog.Layouts.Layout? Dsn { get; set; } + [System.Obsolete("Logs are always enabled. This option is ignored and will be removed in a future m" + + "ajor version. To drop logs, use SetBeforeSendLog and return null.")] public bool EnableLogs { get; set; } public NLog.Layouts.Layout? Environment { get; set; } public int FlushTimeoutSeconds { get; set; } diff --git a/test/Sentry.Tests/ApiApprovalTests.Run.DotNet11_0.verified.txt b/test/Sentry.Tests/ApiApprovalTests.Run.DotNet11_0.verified.txt index 5f150f965e..803c8f81b3 100644 --- a/test/Sentry.Tests/ApiApprovalTests.Run.DotNet11_0.verified.txt +++ b/test/Sentry.Tests/ApiApprovalTests.Run.DotNet11_0.verified.txt @@ -837,6 +837,8 @@ namespace Sentry public string? Distribution { get; set; } public string? Dsn { get; set; } public bool EnableBackpressureHandling { get; set; } + [System.Obsolete("Logs are always enabled. This option is ignored and will be removed in a future m" + + "ajor version. To drop logs, use SetBeforeSendLog and return null.")] public bool EnableLogs { get; set; } [System.Obsolete("Metrics are always enabled. This option is ignored and will be removed in version" + " 7.0.0. To drop metrics, use SetBeforeSendMetric and return null.")]