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:
@@ -6,12 +6,14 @@ using ZB.MOM.WW.ScadaBridge.TestSupport;
|
||||
namespace ZB.MOM.WW.ScadaBridge.IntegrationTests;
|
||||
|
||||
/// <summary>
|
||||
/// WP-3 (Phase 8): Dual-node failure recovery.
|
||||
/// Dual-node failure recovery.
|
||||
/// Both nodes down, first up forms cluster, rebuilds from persistent storage.
|
||||
/// Tests for both central and site topologies.
|
||||
/// </summary>
|
||||
public class DualNodeRecoveryTests
|
||||
{
|
||||
/// <summary>Verifies that after both site nodes go down the first node rebuilds its state from SQLite.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Trait("Category", "Integration")]
|
||||
[Fact]
|
||||
public async Task SiteTopology_BothNodesDown_FirstNodeRebuildsFromSQLite()
|
||||
@@ -83,6 +85,8 @@ public class DualNodeRecoveryTests
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Verifies that parked messages are preserved across a dual crash of a site pair.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Trait("Category", "Integration")]
|
||||
[Fact]
|
||||
public async Task SiteTopology_DualCrash_ParkedMessagesPreserved()
|
||||
@@ -154,6 +158,7 @@ public class DualNodeRecoveryTests
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Verifies that after both central nodes go down the first node forms a single-node cluster.</summary>
|
||||
[Trait("Category", "Integration")]
|
||||
[Fact]
|
||||
public void CentralTopology_BothNodesDown_FirstNodeFormsSingleNodeCluster()
|
||||
@@ -185,6 +190,8 @@ public class DualNodeRecoveryTests
|
||||
Assert.Equal(DeploymentStatus.InProgress, statuses[1].Status);
|
||||
}
|
||||
|
||||
/// <summary>Verifies that initializing the SQLite storage repeatedly is idempotent and safe during recovery.</summary>
|
||||
/// <returns>A task that represents the asynchronous operation.</returns>
|
||||
[Trait("Category", "Integration")]
|
||||
[Fact]
|
||||
public async Task SQLiteStorage_InitializeIdempotent_SafeOnRecovery()
|
||||
|
||||
Reference in New Issue
Block a user