mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
add sleep to pester test
This commit is contained in:
parent
bb847f99bc
commit
d215e7333f
@ -172,7 +172,7 @@ Describe "Tests for scp command" -Tags "CI" {
|
|||||||
|
|
||||||
It 'File copy: <Title> ' -TestCases:$testData {
|
It 'File copy: <Title> ' -TestCases:$testData {
|
||||||
param([string]$Title, $Source, $Destination, [string]$Options)
|
param([string]$Title, $Source, $Destination, [string]$Options)
|
||||||
|
Start-Sleep -Seconds 60
|
||||||
iex "scp $Options $Source $Destination"
|
iex "scp $Options $Source $Destination"
|
||||||
$LASTEXITCODE | Should Be 0
|
$LASTEXITCODE | Should Be 0
|
||||||
#validate file content. DestPath is the path to the file.
|
#validate file content. DestPath is the path to the file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user