fix(tests): lower ValidateRange minimums and use .ps1 fake vmrun for Pester

This commit is contained in:
Simone
2026-05-10 22:50:25 +02:00
parent a3a24199b3
commit fa2acc4b46
4 changed files with 18 additions and 14 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ param(
[string] $VmrunPath = 'C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe',
[ValidateRange(5, 60)]
[ValidateRange(1, 60)]
[int] $GracefulTimeoutSeconds = 15
)
+1 -1
View File
@@ -157,7 +157,7 @@ function Run-Test {
Write-Host ""
Write-Host "╔════════════════════════════════════════════════════════╗" -ForegroundColor Yellow
Write-Host "║ §3.3 E2E Test: In-VM Git Clone vs Host-side Zip ║" -ForegroundColor Yellow
Write-Host "║ §3.3 E2E Test: In-VM Git Clone vs Host-side Zip " -ForegroundColor Yellow
Write-Host "╚════════════════════════════════════════════════════════╝" -ForegroundColor Yellow
$baselineResult = $null
+2 -2
View File
@@ -43,10 +43,10 @@ param(
[ValidatePattern('^((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$')]
[string] $IPAddress,
[ValidateRange(30, 600)]
[ValidateRange(3, 600)]
[int] $TimeoutSeconds = 300,
[ValidateRange(3, 30)]
[ValidateRange(1, 30)]
[int] $PollIntervalSeconds = 5,
[string] $VmrunPath = 'C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe',