Skip to content

Commit

Permalink
chg: increased appveyor test timeouts from 40s -> 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
iceman1001 committed Dec 15, 2017
1 parent 76fc2cb commit a1ee361
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,15 @@ test_script:
#--- end Job
[bool]$res=$false
# Wait 40 sec timeout for Job
if(Wait-Job $Job -Timeout 40){
# Wait 60 sec timeout for Job
if(Wait-Job $Job -Timeout 60){
$Results = $Job | Receive-Job
if($Results -like "true"){
$res=$true
}
} else {
Write-host "Test [$Name] timeout" -ForegroundColor Red
Add-AppveyorTest -Name "$Name" -Framework NUnit -Filename "$File" -Outcome Failed -Duration 40000 -ErrorMessage "timeout"
Add-AppveyorTest -Name "$Name" -Framework NUnit -Filename "$File" -Outcome Failed -Duration 60000 -ErrorMessage "timeout"
}
Remove-Job -Force $Job
Expand Down Expand Up @@ -272,12 +272,10 @@ test_script:
ExecTest "proxmark help hardnested" "proxmark3 -h" {bash -lc 'cd ~/client;proxmark3 -h | grep -q hardnested && echo Passed || echo Failed'}
ExecTest "hf mf offline text" "hf mf" {bash -lc "cd ~/client;proxmark3 comx -c 'hf mf'"} "at_enc"
ExecTest "hf mf hardnested" "hf mf hardnested" {bash -lc "cd ~/client;proxmark3 comx -c 'hf mf hardnested t 1 000000000000'"} "found:"
if ($global:TestsPassed) {
Write-Host "Tests [ OK ]" -ForegroundColor Green
} else {
Expand Down

0 comments on commit a1ee361

Please sign in to comment.