Skip to content

Commit 6d7bc80

Browse files
authored
Merge pull request #1281 from DeusData/feat/local-remote-parity
fix(contract): 0h VM-soak needle onto the canonical soak entry (dry-run test-wave red)
2 parents 3d046fb + def6984 commit 6d7bc80

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

tests/test_smoke_fixture_contract.sh

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,20 @@ require(
272272
and "vm-run-tests.sh --soak '$duration'" in windows_vm,
273273
"the Windows VM driver must route the native daemon soak through its protected-temp harness",
274274
)
275+
# The soak sequence and its completion guards moved into the ONE canonical
276+
# entry scripts/soak-legs.sh (venue parity: _soak.yml, compose and the VM all
277+
# run the same file); the VM wrapper supplies the protected temp root and
278+
# routes into it.
279+
soak_legs = read("scripts/soak-legs.sh")
275280
require(
276281
'if [ "$1" = "--soak" ]' in windows_vm_runner
277-
and 'scripts/soak-test.sh "$binary" "$duration"' in windows_vm_runner
278-
and "=== soak-test: PASSED ===" in windows_vm_runner,
279-
"the Windows VM harness must run and completion-guard the native daemon soak under its "
280-
"protected temp root",
282+
and 'scripts/soak-legs.sh "$binary" "$duration"' in windows_vm_runner,
283+
"the Windows VM harness must route the native daemon soak through the canonical soak "
284+
"entry under its protected temp root",
285+
)
286+
require(
287+
"grep -Fq '=== soak-test: PASSED ==='" in soak_legs,
288+
"the canonical soak entry must completion-guard every leg on the soak summary",
281289
)
282290
require(
283291
pr_workflow.count("scripts/smoke-local.sh") >= 2,

0 commit comments

Comments
 (0)