From 94e39e23645a8ad0a3ff5d547a92429940119c96 Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Tue, 17 Nov 2015 13:54:13 -0800 Subject: [PATCH] Exclude DBTest.FileCreationRandomFailure as a long running test Increase concurrency to 18 Fix exclusion but in the ps script --- appveyor.yml | 2 +- build_tools/run_ci_db_test.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 986a82526..4ee3ab417 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -10,6 +10,6 @@ build: verbosity: minimal test: test_script: -- ps: build_tools\run_ci_db_test.ps1 -EnableRerun -Run db_test -Exclude DBTest.Randomized -Concurrency 16 +- ps: build_tools\run_ci_db_test.ps1 -EnableRerun -Run db_test -Exclude DBTest.Randomized,DBTest.FileCreationRandomFailure -Concurrency 18 - ps: build_tools\run_ci_db_test.ps1 -Run env_test -Concurrency 1 diff --git a/build_tools/run_ci_db_test.ps1 b/build_tools/run_ci_db_test.ps1 index 2e2b679da..a806f7ea9 100644 --- a/build_tools/run_ci_db_test.ps1 +++ b/build_tools/run_ci_db_test.ps1 @@ -126,7 +126,7 @@ function Normalize-DbTests($HashTable) { function MakeAndAdd([string]$token, $HashTable) { $test_name = $token -replace '.exe$', '' $log_name = -join ($test_name, ".log") - if(!$ExcludeTests.Contains($test)) { + if(!$ExcludeTests.Contains($test_name)) { $HashTable.Add($test_name, $log_name) } else { Write-Warning "Test $test_name is excluded"