Skip to content

Commit f332bba

Browse files
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 <noreply@anthropic.com>
1 parent 13dc30d commit f332bba

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎test/Sentry.AspNetCore.Tests/WebIntegrationTests.Versioning.DotNet11_0.verified.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@
9090
http.response.status_code: 200
9191
}
9292
}
93+
},
94+
{
95+
Source: {
96+
Length: 7
97+
}
9398
}
9499
]
95100
}

‎test/Sentry.NLog.Tests/ApiApprovalTests.Run.DotNet11_0.verified.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ namespace Sentry.NLog
5959
public NLog.Layouts.Layout? BreadcrumbCategory { get; set; }
6060
public NLog.Layouts.Layout? BreadcrumbLayout { get; set; }
6161
public NLog.Layouts.Layout? Dsn { get; set; }
62+
[System.Obsolete("Logs are always enabled. This option is ignored and will be removed in a future m" +
63+
"ajor version. To drop logs, use SetBeforeSendLog and return null.")]
6264
public bool EnableLogs { get; set; }
6365
public NLog.Layouts.Layout? Environment { get; set; }
6466
public int FlushTimeoutSeconds { get; set; }

‎test/Sentry.Tests/ApiApprovalTests.Run.DotNet11_0.verified.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,8 @@ namespace Sentry
837837
public string? Distribution { get; set; }
838838
public string? Dsn { get; set; }
839839
public bool EnableBackpressureHandling { get; set; }
840+
[System.Obsolete("Logs are always enabled. This option is ignored and will be removed in a future m" +
841+
"ajor version. To drop logs, use SetBeforeSendLog and return null.")]
840842
public bool EnableLogs { get; set; }
841843
[System.Obsolete("Metrics are always enabled. This option is ignored and will be removed in version" +
842844
" 7.0.0. To drop metrics, use SetBeforeSendMetric and return null.")]

0 commit comments

Comments
 (0)