Commit Graph

107 Commits

Author SHA1 Message Date
Zach Musgrave 1c1a03e965 Fixed more tests 2022-09-12 12:25:43 -07:00
Tan Yong Zhi 178f541f34 Fix bats tests 2022-08-26 12:14:05 +08:00
Tan Yong Zhi 5e8ffeae98 Should be the last of them 2022-08-26 12:14:05 +08:00
James Cor 320ee906bd syncing logic, and adding extra test 2022-08-16 10:14:27 -07:00
Taylor Bantle 87c1de8cc7 Merge pull request #4070 from dolthub/taylor/fix-tag-revision
Prevent `use [db]/[tag]` from creating duplicate revision db
2022-08-15 09:39:07 -07:00
Dhruv Sringari 241cf79018 Add storage format information to dolt version and add new sql function dolt_storage_format(). Add dolt init --new-format (#4068)
* wip

* add bats

* remove unused

* add SELECT dolt_storage_format()

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* prepared test

* rename skip_nbf_dolt_1 to skip_nbf_dolt

* multidb mode should load databases based on DOLT_DEFAULT_BIN_FORMAT

If there is a database in ./.dolt then we use its format to search for other compatible formats.

If there is no database in ./.dolt then we use `DOLT_DEFAULT_BIN_FORMAT` to search for other compatible formats.

* fix bats

* fix check_prepared_tests.sh

* fix bats

Co-authored-by: druvv <druvv@users.noreply.github.com>
2022-08-11 21:04:58 -07:00
Taylor Bantle ae53d8a0ff Skip bats that causes panic 2022-08-11 14:22:33 -07:00
Taylor Bantle 5f1af3c851 bats: Tag test for duplicate commit db name 2022-08-11 14:17:22 -07:00
Taylor Bantle 4a55a11216 Add tags to databaseForRevision 2022-08-02 12:53:50 -07:00
James Cor 9623166ab9 more privilege changes (#3810) 2022-07-27 17:31:57 -07:00
James Cor 59ed5a54f7 better names for test cases 2022-07-15 10:46:25 -07:00
James Cor af2a75f5cd all tests for sql -q 2022-07-13 15:36:10 -07:00
James Cor 3455828f2b fixing test and throwing rror for multi db dir flag 2022-07-12 17:00:25 -07:00
James Cor 5747fa51ba maybe? 2022-07-12 15:53:21 -07:00
James Cor c15917ee36 more test 2022-07-11 11:40:17 -07:00
James Cor f6ec4c9c1b deleting directories better 2022-07-06 10:13:05 -07:00
James Cor 97e082cc09 removing better 2022-07-06 00:49:22 -07:00
James Cor e846f1e7b8 something important 2022-07-05 23:40:41 -07:00
James Cor 2baa661785 Merge branch 'main' into james/local-user 2022-07-05 14:57:54 -07:00
James Cor 359a33012f removing validating persist 2022-07-05 14:57:01 -07:00
Dhruv Sringari 24cac1f6c4 [no-release-notes] unskip more bats (#3737)
* Fix merge test for __DOLT_1__

* tree.ThreeWayMerge always calls callback when key collision occurs

* add keyless support for new format merge and other merge related tables

* newline of doom

* unskip more bats

* empty

* skip blame.bats and remotes-aws.bats
2022-07-01 17:00:42 -07:00
Vinai Rachakonda 9aad046353 [skip ci] Add skipped bats test for describe (#3716) 2022-06-29 09:55:00 -07:00
Andy Arthur 2d9634136f unskip some sql.bats 2022-06-23 12:16:14 -07:00
Daylon Wilkins 178259995b Unskipped bats tests 2022-06-21 04:03:39 -07:00
Daylon Wilkins 07f617e87a Simplified types, removed some type checks, fixed SELECT output 2022-06-11 19:06:41 -07:00
James Cor b5f667b270 adding test case 2022-06-08 10:15:43 -07:00
James Cor 37e2acffe7 tests 2022-06-08 10:07:09 -07:00
James Cor 7404b6a583 fixing tests 2022-06-08 10:02:58 -07:00
James Cor 55fca10d2a fixing tests 2022-06-08 00:16:08 -07:00
James Cor 09dd30e113 fixing tests 2022-06-06 12:55:39 -07:00
James Cor 93d5966b2d fixing bats tests 2022-06-06 12:16:33 -07:00
James Cor 8411e9c33f Merge pull request #3439 from dolthub/james/local-user
Grant access to `mysql` database when in dolt shell
2022-06-02 16:03:12 -07:00
Zach Musgrave ca8b4180f2 Added some skipped tests for type conversion errors on column modify 2022-06-02 11:02:13 -07:00
Zach Musgrave 9a0278db35 Fixed bug in changing column type but not kind in new format 2022-06-02 09:14:09 -07:00
Zach Musgrave 7f4d72e28a Skip panicking type change bats test for new format 2022-06-01 16:33:38 -07:00
jennifersp d9bb364c42 case sensitivity for database and branch names 2022-05-31 21:51:23 -07:00
James Cor ed840e19bf updated tests 2022-05-24 15:08:16 -07:00
James Cor 83b47ce74b merge and adding default file path 2022-05-24 14:51:05 -07:00
Zach Musgrave 43fd1404b5 Skipped drop test failing on windows: 2022-05-19 08:07:33 -07:00
Zach Musgrave c491e777a0 Fixed panic when dropping a database with active branches in use 2022-05-18 18:17:25 -07:00
James Cor 9f11b3afd4 adding tests 2022-05-17 13:48:40 -07:00
Zach Musgrave 4ac4a3fe83 Fix 3 failing tests for new format 2022-05-11 16:59:36 -07:00
Andy Arthur 01587c8c20 more BATS skips for __DOLT_1__ 2022-05-10 14:08:47 -07:00
Daylon Wilkins 7fe4d7d780 Added stored procedure versions of dolt functions 2022-04-19 03:44:20 -07:00
Dustin Brown ea410bfd02 [auto-bump] [no-release-notes] dependency by jennifersp (#3112) 2022-03-29 11:21:28 -07:00
Maximilian Hoffman bdab3358f1 Remove index filters (#2828)
* GMS bump

* eliminate OR filters

* fix range filters and datetime formatting

* GMS bump

* cleanup

* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh

* remove some plan bats

* simplify all checks into is not null

* better comments

* daylon's comments

Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com>
2022-02-24 22:32:22 -08:00
James Cor 57f6d85380 this is really messing with bats tests :( 2022-02-10 16:11:33 -08:00
Andy Arthur f13c4c5833 deleted sql show grants bats 2022-02-02 16:57:35 -08:00
Andy Arthur 831b5af158 skipped bats test 'sql show grants' 2022-02-02 16:19:45 -08:00
Timothy Sehn 8bf0947607 Factored out bats tests for check constraints into their own file. Added skipped test for alter removing constraints. 2022-01-28 14:05:24 -08:00