test: guard Windows active-session fixture isolation

This commit is contained in:
2026-09-09 07:20:48 +00:00
parent 6866adf0c1
commit 68ddc9d297
3 changed files with 21 additions and 4 deletions
+6 -2
View File
@@ -187,8 +187,12 @@ remain mode `0600` on Helium and neither value is recorded in run
reports or artifacts. `test-host install` first verifies that the reset guest
has no `RVBoxClient`, checks the provisioner's High Mandatory Level, invokes
the actual staged `rvbox.exe --install-service --config ...`, and polls SCM for
`RUNNING`. `run` may then exercise reconfigure/start/restart paths. Snapshot
reset removes the installed service and all RVBox data again.
`RUNNING`. It then checks that the provisioning account is no longer present in
`query user`. A lingering Administrator session could become a second WTS
candidate and contaminate `ACTIVE_USER` / `ACTIVE_USER_ELEVATED` tests, so the
harness fails before command dispatch and the run must reset. `run` may then
exercise reconfigure/start/restart paths. Snapshot reset removes the installed
service and all RVBox data again.
The provisioner is fixture administration only: it is not shipped with RVBox,
not a product service/broker, not a Task Scheduler dependency, and never