Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
667 changes: 667 additions & 0 deletions Darling/Darling.Tests/PgTargetBufferDrillDownTests.cs

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions Darling/Darling.Tests/PgTargetKnobsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -884,9 +884,10 @@ private static DateTime TruncateToMinutes(DateTime value) =>
/// One <c>pg_server_config</c> snapshot as the collector writes it: the two knobs at their shipped defaults
/// (<c>shared_buffers 16384 × 8kB</c>, <c>max_wal_size 1024 MB</c>), the checkpoint rhythm at its default, and
/// the three convention checks deliberately tuned so they root nothing — the e2e asserts EXACTLY two advisories.
/// A <c>source = 'session'</c> row for <c>work_mem</c> is planted too, to prove the exclusion filters it.
/// A <c>source = 'session'</c> row for <c>work_mem</c> is planted too, to prove the exclusion filters it. Internal:
/// lane 29's buffer-composition e2e plants the same snapshot so the memory chain roots there too.
/// </summary>
private static async Task PlantConfigSnapshotAsync(NpgsqlConnection connection, int serverId, string serverName, DateTime at, CancellationToken ct)
internal static async Task PlantConfigSnapshotAsync(NpgsqlConnection connection, int serverId, string serverName, DateTime at, CancellationToken ct)
{
var rows = new (string Name, string Setting, string? Unit, string BootVal, string Source)[]
{
Expand Down
Loading
Loading