Skip to content

Testing Evidence ​

This page maps DSM production claims to executable source evidence. Use it during review to ask what the repository actually proves, and what risk remains outside the test boundary.

Evidence Matrix ​

AreaTest evidenceWhat it provesResidual risk
Runtime integrationRuntimeIntegrationTestLocator isolation, CRDT merge behavior, lease fencing paths.Does not prove production network behavior.
Two-node syncTwoNodeIntegrationTestManual two-node register replication with fake membership and explicit sync services.Fake infrastructure is not a transport benchmark.
Chaos and repairChaosIntegrationTestPartition healing, anti-entropy catch-up, and repair behavior under disruption.Real network failures can be messier than test faults.
Consistency invariantsConsistencyInvariantIntegrationTest, LongRunningConsistencySoakTestSeeded and longer-running consistency checks across randomized operation patterns.Soak coverage must be kept running in CI/release lanes.
Adaptive repairAdaptiveRepairPlannerTest, RuntimeDataPlaneReplicationServiceTestReplay-vs-snapshot choice, fallback behavior, relay failure exclusion, recovery catch-up.Cost estimates depend on production traffic shape.
FederationInMemoryFederationBridgeTest, FederationIntegrationTestBootstrap, live forwarding, dropped mutation repair, relay recovery, register convergence.In-memory relay is not a production cross-cluster transport.
SecuritySenderRateLimiterTest, SlidingWindowNonceTrackerTest, security integration testsSender ban, nonce sender LRU eviction, signing, replay, and tamper rejection behavior.Key management and secret rotation remain deployment responsibilities.
Membership / relay healthTimeoutRelayHealthMonitorTestRelay health transitions and listener notifications.Does not prove every cloud networking mode.
Spring BootDsmAutoConfigurationTest, DsmSpringBootSmokeTestProperty binding, validation, auto-configuration, and starter smoke path.Application-specific beans still need service tests.
EvictionTtlEvictionPolicyTestTTL expiry behavior and runtime eviction path.External multi-tier storage implementations need their own tests.

Review Questions ​

Before declaring a service integration ready:

  1. Which DSM behavior is covered by repository tests?
  2. Which business wrapper code is covered by service-local tests?
  3. Which production risks are covered only by staging, soak, or chaos tests?
  4. Are schema compatibility and key rotation tested across rolling deployments?
  5. Are error codes and metrics asserted where the service depends on them operationally?