Skip to content

Commit

Permalink
further tests for connection pool
Browse files Browse the repository at this point in the history
  • Loading branch information
TimelordUK committed Apr 4, 2020
1 parent ade32e4 commit 393b362
Showing 1 changed file with 40 additions and 48 deletions.
88 changes: 40 additions & 48 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
version: 1.0.{build}
image: Visual Studio 2019
image: Visual Studio 2017
clone_folder: c:\projects\node_modules\msnodesqlv8
environment:
matrix:
- nodejs_version: "13"
- nodejs_version: "10"
- nodejs_version: "11"
- nodejs_version: "12"
- nodejs_version: "13"
- nodejs_version: "10"
- nodejs_version: "11"
- nodejs_version: "12"


platform:
Expand All @@ -18,50 +18,42 @@ before_test:
- net start sqlbrowser

install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install

build_script:
- cmd: node --version
- cmd: node --version

test_script:
- cmd: |
rem SET MSSQL_VERSION=2008
rem powershell tool\appveyor.ps1 SQL2008R2SP2
rem node --version
rem node unit.tests\cmd-test.js -a 008R2SP2 -t benchmark --repeats=5 --delay=4500 2>&1
rem node unit.tests\cmd-test.js -a 008R2SP2 -t benchmark --table=syscolumns --delay=5000 --repeats=5 2>&1
rem node runtest -a 2008R2SP2 -t sproc.js -t connection-pool -t pause -t concurrent -t multiple-errors -t geography -t tvp -t warnings.js -t compoundqueries.js -t querycancel.js -t txn.js -t datatypes.js -t params.js -t query.js -t querytimeout.js -t connect.js -t bulk.js -t prepared.js -t userbind.js -t dates.js 2>&1
rem net stop MSSQL$SQL008R2SP2
rem SET MSSQL_VERSION=2012
rem powershell tool\appveyor.ps1 SQL2012SP1
rem node --version
rem node unit.tests\cmd-test.js -a 2012SP1 -t benchmark --repeats=5 --delay=4500 2>&1
rem node unit.tests\cmd-test.js -a 2012SP1 -t benchmark --table=syscolumns --delay=5000 --repeats=5 2>&1
rem node runtest -a 2012SP1 -t sproc.js -t connection-pool -t pause -t concurrent -t multiple-errors -t geography -t tvp -t warnings.js -t compoundqueries.js -t querycancel.js -t txn.js -t datatypes.js -t params.js -t query.js -t querytimeout.js -t connect.js -t bulk.js -t prepared.js -t userbind.js -t dates.js 2>&1
rem net stop MSSQL$SQL2012SP1
SET MSSQL_VERSION=2017
powershell tool\appveyor.ps1 SQL2017
node --version
node unit.tests\cmd-test.js -a 2017 -t benchmark --repeats=5 --delay=4500 2>&1
node unit.tests\cmd-test.js -a 2017 -t benchmark --table=syscolumns --delay=5000 --repeats=5 2>&1
node runtest -a 2017 -t sproc.js -t connection-pool -t pause -t concurrent -t multiple-errors -t geography -t tvp -t warnings.js -t compoundqueries.js -t querycancel.js -t txn.js -t datatypes.js -t params.js -t query.js -t querytimeout.js -t connect.js -t bulk.js -t prepared.js -t userbind.js -t dates.js 2>&1
net stop MSSQL$SQL2017
SET MSSQL_VERSION=2014
powershell tool\appveyor.ps1 SQL2014
node --version
node unit.tests\cmd-test.js -a 2014 -t benchmark --repeats=5 --delay=4500 2>&1
node unit.tests\cmd-test.js -a 2014 -t benchmark --table=syscolumns --delay=5000 --repeats=5 2>&1
node runtest -a 2014 -t sproc.js -t connection-pool -t pause -t concurrent -t multiple-errors -t geography -t tvp -t warnings.js -t compoundqueries.js -t querycancel.js -t txn.js -t datatypes.js -t params.js -t query.js -t querytimeout.js -t connect.js -t bulk.js -t prepared.js -t userbind.js -t dates.js 2>&1
net stop MSSQL$SQL2014
SET MSSQL_VERSION=2016
powershell tool\appveyor.ps1 SQL2016
node --version
node unit.tests\cmd-test.js -a 2016 -t benchmark --repeats=5 --delay=4500 2>&1
node unit.tests\cmd-test.js -a 2016 -t benchmark --table=syscolumns --delay=5000 --repeats=5 2>&1
node runtest -a 2016 -t sproc.js -t connection-pool -t pause -t concurrent -t multiple-errors -t geography -t tvp -t warnings.js -t compoundqueries.js -t querycancel.js -t txn.js -t datatypes.js -t params.js -t query.js -t querytimeout.js -t connect.js -t bulk.js -t prepared.js -t userbind.js -t dates.js 2>&1
net stop MSSQL$SQL2016
- cmd: |
SET MSSQL_VERSION=2017
powershell tool\appveyor.ps1 SQL2017
node --version
node unit.tests\cmd-test.js -a 2017 -t benchmark --repeats=5 --delay=4500 2>&1
node unit.tests\cmd-test.js -a 2017 -t benchmark --table=syscolumns --delay=5000 --repeats=5 2>&1
node runtest -a 2017 -t sproc.js -t connection-pool -t pause -t concurrent -t multiple-errors -t geography -t tvp -t warnings.js -t compoundqueries.js -t querycancel.js -t txn.js -t datatypes.js -t params.js -t query.js -t querytimeout.js -t connect.js -t bulk.js -t prepared.js -t userbind.js -t dates.js 2>&1
net stop MSSQL$SQL2017
rem SET MSSQL_VERSION=SQL2012SP1
rem powershell tool\appveyor.ps1 SQL2012SP1
rem node --version
rem node unit.tests\cmd-test.js -a 2012SP1 -t benchmark --repeats=5 --delay=4500 2>&1
rem node unit.tests\cmd-test.js -a 2012SP1 -t benchmark --table=syscolumns --delay=5000 --repeats=5 2>&1
rem node runtest -a 2012SP1 -t sproc.js -t connection-pool -t pause -t concurrent -t multiple-errors -t geography -t tvp -t warnings.js -t compoundqueries.js -t querycancel.js -t txn.js -t datatypes.js -t params.js -t query.js -t querytimeout.js -t connect.js -t bulk.js -t prepared.js -t userbind.js -t dates.js 2>&1
rem net stop MSSQL$SQL2012SP1
SET MSSQL_VERSION=2014
powershell tool\appveyor.ps1 SQL2014
node --version
node unit.tests\cmd-test.js -a 2014 -t benchmark --repeats=5 --delay=4500 2>&1
node unit.tests\cmd-test.js -a 2014 -t benchmark --table=syscolumns --delay=5000 --repeats=5 2>&1
node runtest -a 2014 -t sproc.js -t connection-pool -t pause -t concurrent -t multiple-errors -t geography -t tvp -t warnings.js -t compoundqueries.js -t querycancel.js -t txn.js -t datatypes.js -t params.js -t query.js -t querytimeout.js -t connect.js -t bulk.js -t prepared.js -t userbind.js -t dates.js 2>&1
net stop MSSQL$SQL2014
SET MSSQL_VERSION=2016
powershell tool\appveyor.ps1 SQL2016
node --version
node unit.tests\cmd-test.js -a 2016 -t benchmark --repeats=5 --delay=4500 2>&1
node unit.tests\cmd-test.js -a 2016 -t benchmark --table=syscolumns --delay=5000 --repeats=5 2>&1
node runtest -a 2016 -t sproc.js -t connection-pool -t pause -t concurrent -t multiple-errors -t geography -t tvp -t warnings.js -t compoundqueries.js -t querycancel.js -t txn.js -t datatypes.js -t params.js -t query.js -t querytimeout.js -t connect.js -t bulk.js -t prepared.js -t userbind.js -t dates.js 2>&1
net stop MSSQL$SQL2016

0 comments on commit 393b362

Please sign in to comment.