feat: isolate simultaneous RDP fixture profiles
This commit is contained in:
@@ -49,6 +49,18 @@ func TestNativeFixtureAssets_HP_HARNESS_20(t *testing.T) {
|
||||
t.Fatalf("native test-host is missing compressed transfer contract %q", required)
|
||||
}
|
||||
}
|
||||
rdpAccess := read("test/rdp-access/rdp-access")
|
||||
for _, required := range []string{"RDP_ACCESS_PROFILE", "--profile", "rvbox-rdp-access-$profile", "runtime_root", "ipv6_forward_status", "compose restart guacd", "compose down --remove-orphans"} {
|
||||
if !strings.Contains(rdpAccess, required) {
|
||||
t.Fatalf("RDP helper is missing isolated lifecycle contract %q", required)
|
||||
}
|
||||
}
|
||||
rdpReadme := read("test/rdp-access/README.md")
|
||||
for _, required := range []string{"Current fixture quick start", "RDP_ACCESS_PROFILE=vm-b", "Partial stack or changed endpoint", "Inspect, repair, stop, or clean that instance"} {
|
||||
if !strings.Contains(rdpReadme, required) {
|
||||
t.Fatalf("RDP helper documentation is missing %q", required)
|
||||
}
|
||||
}
|
||||
compose := read("test/linux-server/compose.yaml")
|
||||
for _, required := range []string{"../../bin/rvbox-server", "nginx:1.27-alpine", "rvbox.native.run_id", "RVBOX_NATIVE_RUNTIME_DIR", "certgen", "networks: [native]"} {
|
||||
if !strings.Contains(compose, required) {
|
||||
|
||||
Reference in New Issue
Block a user