test(streaming): enforce slice E physical evidence
Record route-lifetime streaming overruns and maximum operation costs, require canonical reveal/resource convergence at every connected checkpoint, and keep recenter semantics independent of the production wall-clock budget. Co-authored-by: Erik Nilsson <erikn@users.noreply.github.com>
This commit is contained in:
parent
2ff8f844b0
commit
621f70eab6
6 changed files with 215 additions and 4 deletions
|
|
@ -191,6 +191,46 @@ public sealed class ConnectedR6SoakContractTests
|
|||
foreach (string field in zeroFields)
|
||||
Assert.Contains($"'{field}'", source, StringComparison.Ordinal);
|
||||
|
||||
string[] revealFields =
|
||||
[
|
||||
"materialized",
|
||||
"completed",
|
||||
"worldViewportObserved",
|
||||
"cancelled",
|
||||
"invariantFailureCount",
|
||||
"isReady",
|
||||
];
|
||||
foreach (string field in revealFields)
|
||||
Assert.Contains($"'{field}'", source, StringComparison.Ordinal);
|
||||
|
||||
string[] streamingZeroFields =
|
||||
[
|
||||
"deferredCompletions",
|
||||
"deferredAdoptedCpuBytes",
|
||||
"pendingPublications",
|
||||
"pendingRetirements",
|
||||
"workerCompletionBacklog",
|
||||
"destinationBacklog",
|
||||
"controlBacklog",
|
||||
"unloadBacklog",
|
||||
"nearBacklog",
|
||||
"farBacklog",
|
||||
];
|
||||
foreach (string field in streamingZeroFields)
|
||||
Assert.Contains($"'{field}'", source, StringComparison.Ordinal);
|
||||
|
||||
string[] streamingEvidenceFields =
|
||||
[
|
||||
"lifetimeFrameOverrunCount",
|
||||
"lifetimeOversizedProgressCount",
|
||||
"maximumFrameMilliseconds",
|
||||
"maximumFrameStage",
|
||||
"maximumOperationMilliseconds",
|
||||
"maximumOperationStage",
|
||||
];
|
||||
foreach (string field in streamingEvidenceFields)
|
||||
Assert.Contains($"'{field}'", source, StringComparison.Ordinal);
|
||||
|
||||
Assert.Equal(1, CountOccurrences(
|
||||
source,
|
||||
"$privateLimit = [Math]::Max(192.0, $pair.First.PrivateMiB * 0.20)"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue