Instantiation's allocation test runs dispatches of as many regions or fewer

What: instantiating_over_kept_commands_allocates_nothing instantiates the ragged grid twice and
then the whole one over the kept commands, each of as many regions as the commands hold or
fewer. Its first form ran the ragged grid after the whole one, whose four regions take three
regions' keys and push writes anew over commands of one: 12 allocations (m3-max-37844), which
the method's contract allows.

Verified: in the next msi job.
This commit is contained in:
Anees Iqbal committed 2026-11-16 14:02:18 -08:00
1 parent a040b06857
commit 0f29d6a6e3
1 file changed
+1 -1
@@ -327,7 +327,7 @@ fn instantiating_over_kept_commands_allocates_nothing() {
.instantiate_dispatch(&state(0), &ragged)
.expect("first");
assert_eq!(kept.regions.len(), 4, "the interior and three edges");
for (at, (d, offset)) in [(ragged, 64), (whole, 128), (ragged, 192)]
for (at, (d, offset)) in [(ragged, 64), (ragged, 128), (whole, 192)]
.into_iter()
.enumerate()
{