docs(tests): fix CommentChecker findings across tests/ — 13,392 → 0 (repo-wide scan clean)
Comment/XML-doc changes only: - add summaries to ~10k test methods, fixtures, fakes and helpers (+ <param> on theories, <returns> on async Task methods, <inheritdoc/> on interface implementations the checker can resolve) - strip ~2.6k project-tracking references (WP*, P*-*, row-NN, Task N, #NN, Component-0NN) from comments, keeping the explanatory text; reword false positives in comments only - real docs on fakes implementing BCL/library interfaces (IDisposable, ILogger, IOptionsMonitor, IAsyncLifetime) - reword the last 5 src/ false positives (CWE-1236, failures-1, year-0001, M365) Only non-comment edits: four one-line nested classes split across lines so members can carry docs. Build 0 errors / 0 warnings.
This commit is contained in:
@@ -66,6 +66,8 @@ public sealed class LocalDbPhase2ConvergenceTests : LocalDbSitePairHarness
|
||||
|
||||
// ---- scenarios --------------------------------------------------------------------
|
||||
|
||||
/// <summary>Verifies that a deployed configuration row converges to node B column for column.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task DeployedConfigRow_ConvergesToB_ColumnForColumn()
|
||||
{
|
||||
@@ -85,6 +87,8 @@ public sealed class LocalDbPhase2ConvergenceTests : LocalDbSitePairHarness
|
||||
"node B's deployed_configurations row to match node A's in EVERY column");
|
||||
}
|
||||
|
||||
/// <summary>Verifies that removing an instance converges deletions across all three cascade tables.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task RemovingAnInstance_ConvergesAllThreeCascadeTables()
|
||||
{
|
||||
@@ -132,11 +136,13 @@ public sealed class LocalDbPhase2ConvergenceTests : LocalDbSitePairHarness
|
||||
Assert.Equal(1, await CountAsync(B, "native_alarm_state", "inst-survivor"));
|
||||
}
|
||||
|
||||
/// <summary>Verifies that a native alarm burst converges to the peer and the oplog drains afterwards.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task ANativeAlarmBurst_Converges_AndTheOplogDrains()
|
||||
{
|
||||
// native_alarm_state is the highest-rate replicated table (Task 1 found it bounded by
|
||||
// per-SourceReference coalescing on a 100 ms flush, correcting the plan's D4). This
|
||||
// native_alarm_state is the highest-rate replicated table (it is bounded by
|
||||
// per-SourceReference coalescing on a 100 ms flush). This
|
||||
// asserts the burst converges AND that the oplog goes back to empty afterwards —
|
||||
// convergence alone would still pass if entries replicated but were never acked, and
|
||||
// an oplog that only grows eventually trips the caps and forces a snapshot resync.
|
||||
@@ -159,6 +165,8 @@ public sealed class LocalDbPhase2ConvergenceTests : LocalDbSitePairHarness
|
||||
"node A's oplog to drain once node B acknowledges the burst");
|
||||
}
|
||||
|
||||
/// <summary>Verifies that rows written on node B while its listener is down survive the rejoin.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Fact]
|
||||
public async Task RowsWrittenOnBWhileItsListenerIsDown_SurviveTheRejoin()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user