Skip to content

Commit

Permalink
perf test: REALLY continue past errors during cleanup (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfriesen committed Jun 4, 2024
1 parent 6fd3bd3 commit dabfc99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/two-machine-perf.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ Write-Output "Test Complete!"
Invoke-Command -Session $Session -ScriptBlock {
param ($Config, $Arch, $RemoteDir)
& $RemoteDir\tools\log.ps1 -Stop -Name xskcpu -Config $Config -Arch $Arch -EtlPath $RemoteDir\artifacts\logs\xskbench-peer.etl -ErrorAction 'Continue' | Out-Null
} -ArgumentList $Config, $Arch, $RemoteDir
} -ArgumentList $Config, $Arch, $RemoteDir -ErrorAction 'Continue'
Write-Output "Stopping local logs..."
tools\log.ps1 -Stop -Name xskcpu -Config $Config -Arch $Arch -EtlPath artifacts\logs\xskbench-local.etl -ErrorAction 'Continue' | Out-Null
Write-Output "Copying remote logs..."
Expand All @@ -303,13 +303,13 @@ Write-Output "Test Complete!"
Invoke-Command -Session $Session -ScriptBlock {
param ($Config, $Arch, $RemoteDir)
& $RemoteDir\tools\setup.ps1 -Uninstall xdp -Config $Config -Arch $Arch -ErrorAction 'Continue'
} -ArgumentList $Config, $Arch, $RemoteDir
} -ArgumentList $Config, $Arch, $RemoteDir -ErrorAction 'Continue'
# Clean up eBPF
Write-Output "Removing eBPF locally..."
tools\setup.ps1 -Uninstall ebpf -Config $Config -Arch $Arch -ErrorAction 'Continue'
Write-Output "Removing eBPF on peer..."
Invoke-Command -Session $Session -ScriptBlock {
param ($Config, $Arch, $RemoteDir)
& $RemoteDir\tools\setup.ps1 -Uninstall ebpf -Config $Config -Arch $Arch -ErrorAction 'Continue'
} -ArgumentList $Config, $Arch, $RemoteDir
} -ArgumentList $Config, $Arch, $RemoteDir -ErrorAction 'Continue'
}

0 comments on commit dabfc99

Please sign in to comment.