Commit graph

363 commits

Author SHA1 Message Date
yitam fae0e476a5 modified another test 2017-06-05 08:41:01 -07:00
yitam 4a0a89777d merged two tests 2017-06-05 08:32:43 -07:00
ulvii 188fba0859 Update SqlsrvInsertBench.php 2017-06-02 16:46:03 -07:00
ulvii b4b3669d5b Merge remote-tracking branch 'upstream/dev' into PerformanceTests 2017-06-02 16:16:19 -07:00
ulvii b151f20e25 Update README.md 2017-06-02 16:02:34 -07:00
David Puglielli 6d7cf08dc3 Tweaked a few tests 2017-06-02 16:00:57 -07:00
yitam 8e51fff846 added bvt - msdn sample codes 2017-06-02 15:59:44 -07:00
ulvii 44671291e6 Update README.md 2017-06-02 15:53:22 -07:00
yitam 29cadfc4ea added a skipif for the numeric test 2017-06-02 12:57:10 -07:00
yitam 9c834a7bb1 add a numeric test 2017-06-02 11:03:31 -07:00
yitam ab0e50a4fb added more descriptions 2017-06-02 08:31:23 -07:00
yitam a789e0864b new tests from autonomous 2017-06-01 17:51:37 -07:00
ulvii 6898826636 Windows setup working script 2017-06-01 17:35:44 -07:00
David Puglielli 0efa3e3141 Added connRes tests to Github 2017-06-01 15:11:20 -07:00
David Puglielli c2bc84e267 Fixed EXPECTF block 2017-06-01 11:26:45 -07:00
ulvii 8eae559fb8 Initial commit for windows env setup script 2017-05-31 18:11:10 -07:00
David Puglielli 17c00e741b Amended AAD tests 2017-05-31 14:53:29 -07:00
David Puglielli fc7478d2ac Minor fixes 2017-05-30 16:55:35 -07:00
David Puglielli a1a146fad4 More small fixes 2017-05-30 16:30:46 -07:00
David Puglielli aeacfeebf8 Small test fixes 2017-05-30 15:57:46 -07:00
David Puglielli c18f6bcf4b Added a new test 2017-05-30 15:29:10 -07:00
David Puglielli 862b275459 Tweaks and fixes for certain tests 2017-05-30 15:24:56 -07:00
ulvii b673609239 Adding a workaround by installing svn, because the default svn on Mac is broken 2017-05-30 11:49:09 -07:00
ulvii d84f8412bf Update setup_env_unix.sh 2017-05-30 10:13:43 -07:00
ulvii 969acc054f changing to unix line endings 2017-05-29 18:38:37 -07:00
ulvii 979933244e Adding a script to setup Performance environment on Unix machines 2017-05-29 18:16:57 -07:00
ulvii f81656e0b5 Merge branch 'PerformanceTests' of https://github.com/ulvii/msphpsql into PerformanceTests 2017-05-23 17:52:41 -07:00
ulvii 69277047bf Initial commit for automation script to set up the environment and run the tests 2017-05-23 17:52:03 -07:00
ulvii ac76837300 Update README.md 2017-05-23 15:34:41 -07:00
ulvii faf14547a2 Update README.md
Adding a few more instructions to run the benchmarks
2017-05-23 13:57:10 -07:00
ulvii 4fdbf63ee8 Adding json install files 2017-05-23 12:44:09 -07:00
ulvii c2ef4d8658 Update README.md 2017-05-23 12:43:18 -07:00
ulvii 797e76303c Update README.md
Adding instructions how to run benchmarks
2017-05-23 12:01:16 -07:00
Jenny Tam 8af157d1b0 Merge pull request #398 from yitam/largeStreamData
Dropped the use of utf8_decode while testing
2017-05-19 16:22:32 -07:00
yitam 507188c5b6 modified test descriptions 2017-05-19 09:46:20 -07:00
yitam 04261ed294 extracted select output param into a different test 2017-05-19 08:50:18 -07:00
ulvii 88a9563e8a Initial commit for documentation 2017-05-18 18:17:00 -07:00
yitam dab9e7c803 check against file sizes 2017-05-18 12:54:16 -07:00
Hadis Kakanejadi Fard aeac4e649d added select ? to the pdo output test 2017-05-18 11:55:29 -07:00
Hadis Kakanejadi Fard 063e8b33fc removed sqlsrv fetch dup test 2017-05-17 16:25:12 -07:00
Hadis Fard 847518d056 fixed indentation 2017-05-17 13:38:42 -07:00
Hadis Fard 0c00f43976 fixed typo 2017-05-17 13:36:29 -07:00
yitam 2ac60474d2 dropped utf8_decode 2017-05-17 12:44:36 -07:00
Hadis Kakanejadi Fard af665b2f89 fixed simple variant test 2017-05-16 17:52:21 -07:00
Hadis Kakanejadi Fard 5ef1f23d8a fixed pdo variant update test 2017-05-16 17:45:11 -07:00
Hadis Kakanejadi Fard 89b6fa86b8 fixed output pdo test 2017-05-16 17:33:55 -07:00
Hadis Kakanejadi Fard 80d91c5520 removed tools, added mscommon 2017-05-16 17:24:49 -07:00
Hadis Kakanejadi Fard e3864f4a03 added mscommon 2017-05-16 16:46:55 -07:00
Hadis Kakanejadi Fard b7b73a07ff added print error func to ourput variant test 2017-05-16 14:52:19 -07:00
Hadis Kakanejadi Fard 04560ea47f added setup to input test 2017-05-16 14:36:24 -07:00
Hadis Kakanejadi Fard 88c21aadce added pdo tests 2017-05-16 14:32:34 -07:00
Hadis Kakanejadi Fard a171b7ec91 added variant update test 2017-05-16 09:46:41 -07:00
Hadis Kakanejadi Fard deecbd5a57 updated to mscommon funcs 2017-05-15 17:40:15 -07:00
Hadis Kakanejadi Fard db2ac9c524 added pdo variant tests 2017-05-15 14:35:57 -07:00
Hadis Kakanejadi Fard 4ceabd69f3 added sqlsrv tests 2017-05-15 14:34:43 -07:00
yitam 8fba538917 wrapping up 2017-05-10 08:47:42 -07:00
yitam 8112a8458c modified tests to read cd_info 2017-05-10 08:35:40 -07:00
yitam 971352c316 another try 2017-05-10 08:25:51 -07:00
yitam 645ff1e265 try simpler connection tests 2017-05-10 08:25:51 -07:00
yitam 23d0bdc878 investigating Authentication=SqlPassword issue on appveyor 2017-05-10 08:25:51 -07:00
Jenny Tam 7c5b04e5c8 Merge pull request #379 from yitam/functional-tests
Upload functional tests for both sqlsrv and pdo_sqlsrv
2017-05-10 08:24:40 -07:00
ulvii bc8378141a Adding documentation for Performance tests 2017-05-08 10:54:56 -07:00
yitam 368b658940 skipped part of sqlsrv test when running in Windows 2017-05-08 10:16:05 -07:00
yitam b6671d9ac5 removed comment 2017-05-08 09:44:57 -07:00
yitam 568d13aef4 revert the test and changed appveyor 2017-05-08 09:36:12 -07:00
yitam aa1cd4d178 modified sqlsrv test without TrustServerCertificate 2017-05-08 09:19:39 -07:00
yitam d63d42774d modified sqlsrv test again 2017-05-08 09:09:05 -07:00
yitam 75ee4f90ad modified sqlsrv test 2017-05-08 08:57:30 -07:00
ulvii 5c8038c5ae Update 2017-05-05 17:56:32 -07:00
ulvii 8631a51988 Performance tests - initial commit 2017-05-05 17:32:09 -07:00
yitam 1e527865a9 Implemented Azure AD plus tests 2017-05-05 16:28:33 -07:00
Jenny Tam 025dfdc2d9 removed test_max_length test
need more investigation why it failed in Linux env
2017-05-04 15:51:59 -07:00
yitam a6ce2be894 added full-text search tests 2017-05-04 11:53:17 -07:00
yitam 2fcff55432 some tests for Windows only 2017-05-04 10:21:52 -07:00
yitam 78c0f6f4e6 more sqlsrv tests and fixed some 2017-05-04 09:16:29 -07:00
yitam 3e285ec07b fixed some scripts and added more tests 2017-05-04 08:14:12 -07:00
yitam 9334bb3c84 some tests with bug fixes 2017-05-04 08:14:11 -07:00
yitam 135545799a sqlsrv TC tests 2017-05-04 08:14:11 -07:00
yitam ca50a21bd8 another set of PDO tests 2017-05-04 08:14:10 -07:00
yitam 586b2b3e4e fixed tests and added new ones 2017-05-04 08:14:10 -07:00
yitam 0c7560d112 additional pdo tests and new test data 2017-05-04 08:14:09 -07:00
yitam bb364f989d pdo tests set 2 2017-05-04 08:14:06 -07:00
yitam 82527c743c more tests for pdo 2017-05-04 08:14:06 -07:00
yitam a1546d897c modified tests for Azure 2017-05-04 08:14:06 -07:00
yitam 60f7fe024d first set of sqlsrv functional tests 2017-05-04 08:14:05 -07:00
yitam 9b930973f2 troubleshoot sqlcmd issues 2017-05-04 08:14:05 -07:00
yitam f846fa68c9 fixed metadata tests 2017-05-04 08:14:05 -07:00
yitam 041cc628d4 failing tests 2017-05-04 08:14:04 -07:00
yitam 081dc0f6bf error checking 2017-05-04 08:14:04 -07:00
yitam fc029b27d7 fixed failing tests 2017-05-04 08:14:04 -07:00
yitam de4033f3ca fix the problematic scripts 2017-05-04 08:14:04 -07:00
yitam 15fa9d1b7b fixed database variable 2017-05-04 08:14:04 -07:00
yitam ad466c35db renamed user and password 2017-05-04 08:14:04 -07:00
yitam c6be43ad38 modified emulate_prepare tests 2017-05-04 08:14:04 -07:00
yitam 9944dc5159 drop the use of tempdb 2017-05-04 08:14:03 -07:00
yitam 2ef70f1d0a docker and appveyor to use MsSetup 2017-05-04 08:14:03 -07:00
yitam e13b6e7528 removed autonomous_setup.php 2017-05-04 08:14:03 -07:00
yitam a5ee59bfa6 replaced autonomous_setup.php by MsCommon.inc 2017-05-04 08:14:01 -07:00
Hadis Kakanejadi Fard 1db0a5a38c fixed indentation in pdo test 2017-05-03 14:47:58 -07:00
Hadis Kakanejadi Fard 4d06de4aaf added tests 2017-05-03 14:44:43 -07:00
v-kaywon fb3663bca4 Merge pull request #371 from v-kaywon/emulate_prepare
implemented emulate prepare and added tests
2017-05-02 11:20:46 -07:00
ulvii 41af6fc0a2 Database setup (#367)
* porting database setup files for functional tests

* Updating yml files to setup test databases before running the tests

* update spacing

* Renaming env variables

* Modifying cleanup_dbs.py and setup_dbs.py scripts so that they can execute database setup files

* update env variables

* Fix typo

* Update .travis.yml

* update env variables

* update travis scripts

* Checking sqlcmd setup on travis

* Checking sqlcmd setup on travis

* sqlcmd bcp fix

* sqlcmd bcp fix

* sqlcmd bcp fix

* sqlcmd bcp fix

* sqlcmd bcp fix

* sqlcmd bcp fix

* sqlcmd bcp fix

* sqlcmd bcp fix

* sqlcmd bcp fix

* Adding a test to make sure the database is setup properly

* update exec_sql_scripts.py

* update sqlsrv_num_fields.phpt

* update sqlsrv_num_fields.phpt

* update

* Fixing identation
2017-05-01 11:20:53 -07:00
v-kaywon b7d4a9bec8 changed sql_string_parser::is_placeholder_char from using a switch cases through each acceptable characters to using if else statement that covers a range of characters 2017-04-24 11:33:28 -07:00
v-kaywon 6d7cddf5f6 added error handling for emulate prepare with output parameter 2017-04-21 14:57:57 -07:00
v-kaywon 2aec3b4a95 added error handling for emulate prepared statement with inout parameters 2017-04-21 13:04:24 -07:00
v-kaywon 7aaa16d49e implemented emulate prepare and added tests 2017-04-20 17:17:05 -07:00
Jenny Tam 012b16a64f Merge pull request #354 from v-kaywon/cover_pdo_dbh
increase coverage for pdo_dbh.cpp
2017-04-13 14:55:31 -07:00
v-kaywon fb7e7bf65b fix test description in pdo_transaction.phpt 2017-04-13 14:01:45 -07:00
v-kaywon bdd8f35a4a fix spacing in pdo_transaction 2017-04-13 13:27:41 -07:00
v-kaywon 18d26338ad change test description in pdo_transaction.phpt 2017-04-13 13:00:54 -07:00
v-kaywon 0d4a2573d4 merge pdo_commit and pdo_rollback and renamed to pdo_transaction.phpt 2017-04-13 09:33:44 -07:00
v-kaywon 733ac45497 fix spacing in pdo_commit.phpt 2017-04-13 09:28:24 -07:00
v-kaywon 2966956f03 fix indentation in pdostatement_get_set_attr.phpt 2017-04-12 12:28:09 -07:00
v-kaywon 6f84d3642d fix indentations and comments 2017-04-12 12:25:40 -07:00
v-kaywon caec680535 added catch block in pdo_warnings.phpt 2017-04-12 11:40:26 -07:00
v-kaywon 6fb68c9b61 commit and rollback tests set stmt to null at the end 2017-04-12 11:33:07 -07:00
v-kaywon e59bde3d38 change pdo_prepare_invalid_encoding.phpt so it prints out errorinfo 2017-04-12 11:24:52 -07:00
v-kaywon 371e019511 change pdo_prepare_invalid_cursor.phpt so it prints out errorinfo 2017-04-12 11:21:54 -07:00
v-kaywon d5238008d7 changed pdo_lastInsertId.phpt so lastInsertId does not take in table names; fixed indentation 2017-04-12 11:10:58 -07:00
v-kaywon 9d136d541e mergerd pdo_construct_dsn_format_incorrect and pdo_construct_no_server and renamed to pdo_construct_dsn_error 2017-04-12 10:05:20 -07:00
v-kaywon 910e337a16 merged two transaction isolation tests 2017-04-12 09:32:54 -07:00
v-kaywon 69976af3a0 fixed pdo commit and rollback tests 2017-04-12 09:26:14 -07:00
yitam df99d62c57 modified tests based on reviews 2017-04-11 09:05:03 -07:00
yitam daa157596e simplified the tests with streams 2017-04-11 08:51:49 -07:00
yitam 5a395d2e95 modified helper methods for temp tables/procs 2017-04-11 08:51:48 -07:00
yitam 849725d742 add new test plus fix some 2017-04-11 08:51:48 -07:00
yitam 56be6ae056 modify sqlsrv_fetch_cursor_static_scroll 2017-04-11 08:51:48 -07:00
yitam 6303abce69 static cursor scrollable 2017-04-11 08:51:48 -07:00
yitam 690819c4e3 a test with cursors 2017-04-11 08:51:48 -07:00
yitam 3589698b7d added fetchmode 2017-04-11 08:51:48 -07:00
yitam e1cfe39de1 another pdo transaction test 2017-04-11 08:51:48 -07:00
yitam f7596cc6ff modified PDO_ConnPool_Unix description 2017-04-11 08:51:48 -07:00
yitam f28c47ed16 renamed Repro 2017-04-11 08:51:48 -07:00
yitam a917cfbf2c make GetTempTableName more robust 2017-04-11 08:51:47 -07:00
yitam 93c486b068 make GetTempTableName more robust 2017-04-11 08:51:47 -07:00
yitam e4f37f3b5d add a transaction test 2017-04-11 08:51:47 -07:00
yitam e8271d6311 fix TestFilename in output.py 2017-04-11 08:51:47 -07:00
yitam ced0b2163f fix output.py 2017-04-11 08:51:47 -07:00
yitam 0b1b370a15 tests with empty or null streams 2017-04-11 08:51:47 -07:00
yitam 4cacc6c770 some invalid scenarios 2017-04-11 08:51:47 -07:00
v-kaywon 3848c41108 added tests for different invalid options for pdo::prepare 2017-04-07 17:09:18 -07:00
v-kaywon 83af4d0228 test 2017-04-06 16:35:03 -07:00
v-kaywon fc37444cbe changed description in pdo_set_attr_invalid.phtp 2017-04-06 16:25:21 -07:00
v-kaywon d682702152 added test for setting and getting pdo statement attributes 2017-04-04 17:53:11 -07:00
v-kaywon ed4e8649af close connection in pdo_warnings.phpt 2017-04-04 17:30:17 -07:00
v-kaywon 7901d72f03 add test for warnings at connection and statement levels 2017-04-04 17:13:17 -07:00
v-kaywon 8b233b9096 fix expected position of double semicolon to use regex due to different length of server name 2017-04-04 15:43:19 -07:00
v-kaywon 4b8d8411a7 add test for different formatted dsn string in pdo construct 2017-04-04 15:28:33 -07:00
David Puglielli f330830eef Connection resiliency changes (#356)
* Connection resiliency changes

* Changed connres test to check appveyor protocol

* Changed connres test to check appveyor protocol

* Changed connres test to check appveyor protocol

* Reverted test because appveyor still won't use the correct protocol

* Removed unnecessary connres #defines from msodbcsql.h
2017-04-04 13:40:30 -07:00
v-kaywon 65c79ef344 added test for pdo construct without server specified 2017-04-04 12:35:08 -07:00