Zach Musgrave
48d54edb38
Unskipped some tests
2023-09-18 12:13:59 -07:00
Zach Musgrave
e7b9cdebd5
Bats test for using invalid hash
2023-09-18 12:11:30 -07:00
Neil Macneale IV
899cc45edb
Empty .dolt directories won't cause trouble for init and sql commands.
2023-08-22 12:12:37 -07:00
Maximilian Hoffman
22068f6407
[no-release-notes] gms bump for name res ( #6490 )
...
* [no-release-notes] gms bump
* comments
* merge main
* del local repo refs
* tidy
* tidy
* eventsapi
* more tests
* fix import
* import/diff fixes
* diff panic
* test changes
* import backtick col names
* sysvar name error
* bump
* more import fixes
* fix test to match mysql
* bump
* more fixes
* more fixes
* no prepared count checking
* bump
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* inline type lookup
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* no mod replace
* bump
* bump revert
---------
Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com >
2023-08-16 19:24:32 -07:00
coffeegoddd
0560968b80
/{go,integration-tests}: prevent load_file() from dolt sql cli
2023-08-16 11:17:24 -07:00
coffeegoddd
a8713f8394
/integration-tests/bats/sql.bats: sorta correct bats test
2023-08-16 10:23:13 -07:00
coffeegoddd
374b7ee69a
/integration-tests/bats/sql.bats: wip, adding failing test for sql cli load file
2023-08-16 09:59:34 -07:00
Jason Fulghum
4773192a50
Fixing missing "|| false" in BATS files
2023-08-09 12:10:14 -07:00
Stephanie You
8b054bb1d2
update bats test for --use-db error message
2023-07-24 17:14:36 -07:00
Neil Macneale IV
6538cbd2ed
Remove test which assumes that passing in a arbitrary user to dolt sql is valid
...
Use the common bats setup in import-mysqldump.bats
2023-06-16 15:56:11 -07:00
Zach Musgrave
4c9618c836
Fixed remaining bats test
2023-06-13 15:49:37 -07:00
Zach Musgrave
cb7cea8b34
fixed setting head ref vars
2023-06-09 19:21:50 -07:00
Zach Musgrave
c617713c66
Fixed test (batch handling apparently broken
2023-06-09 18:13:15 -07:00
Zach Musgrave
2525de307d
Tests for USE of non-dolt dbs
2023-06-09 17:58:32 -07:00
Jason Fulghum
ff08487763
Fixing missing "|| false" in BATS assertion
2023-06-09 12:43:28 -07:00
Jason Fulghum
549d6d3abd
Fixing another broken test
2023-06-09 12:41:03 -07:00
Jason Fulghum
672c514017
Adding debug output
2023-06-09 11:35:48 -07:00
Jason Fulghum
8c004ef391
Changing to use parquet as the command line argument (instead of pq)
2023-05-31 15:43:36 -07:00
Jason Fulghum
98ac2471ac
Adding support for parquet as an output format for dolt sql
2023-05-31 14:31:40 -07:00
Neil Macneale IV
eaa4cddb2b
Allow for unresolved targetEnvironment.
...
Not all commands, or even all SQL statements need databases.
2023-05-18 15:26:00 -07:00
Neil Macneale IV
63ee4eb798
Bats tests for --data-dir and --use-db
2023-05-18 15:26:00 -07:00
Neil Macneale IV
a19dadd32b
Use UTC timestamp in date comparison test.
...
Allows tests to run on laptops which aren't in UTC.
2023-05-16 13:24:07 -07:00
Neil Macneale IV
15f60698f9
Move cli flags in bats tests to make them compliant
2023-05-05 11:46:46 -07:00
Zach Musgrave
0cc9e1269a
Merge branch 'main' into zachmu/multi-db3
2023-04-27 16:48:56 -07:00
Neil Macneale IV
0e053d4fe7
Test for new --data-dir option as global arg to sql subcommand
2023-04-26 13:39:04 -07:00
Zach Musgrave
c59ca2fc4a
Unskipped a test, deleted a test
2023-04-20 14:13:33 -07:00
Zach Musgrave
01731f34da
Debugging failing bats test
2023-02-27 18:41:38 -08:00
Zach Musgrave
623f83cf27
Moved some bats tests around, and rewrote the use database tests to actually fail correctly
2023-02-27 15:45:23 -08:00
Zach Musgrave
9e2822fc3d
Tests for autocommit
2023-02-22 12:20:24 -08:00
Stephanie You
3d4c0e3b82
dolt_diff respects qualified database
2023-02-17 13:59:06 -08:00
Stephanie You
3b1307b884
fixes timing for multi statement queries
2023-02-07 11:56:37 -08:00
jennifersp
b45fe90056
output correct result for empty JSON ( #5242 )
2023-01-27 14:05:04 -08:00
jennifersp
a6278667b7
add bats tests for information schema tables ( #5225 )
2023-01-27 08:48:08 -08:00
Zach Musgrave
36d29f99a3
bats test expansion
2023-01-26 12:41:57 -08:00
Zach Musgrave
0f1236638f
Bats test
2023-01-25 18:02:43 -08:00
Zach Musgrave
4a69f1a0fb
Renames and bug fixes
2023-01-23 18:38:54 -08:00
Daylon Wilkins
8aeb1c659e
Removed deprecated dolt functions
2023-01-03 02:13:37 -08:00
coffeegoddd
92f89a4981
/integration-tests/bats/sql.bats: unskip bats test
2022-12-27 14:02:21 -08:00
Dustin Brown
ac22775040
Merge pull request #5054 from dolthub/db/sb
...
[no-release-notes] /integration-tests/bats/sql.bats: add skipped bats test for panic inserting golang zero time as datetime value
2022-12-27 20:36:18 +00:00
coffeegoddd
70a2a7239a
/integration-tests/bats/sql.bats: add skipped bats test for panic inserting golang zero time as datetime value
2022-12-27 11:03:42 -08:00
James Cor
ab0f4a9181
unskipping info schema schema test
2022-12-27 10:50:35 -08:00
Daylon Wilkins
52f44b0a2c
Fixed DELIMITER
2022-12-15 07:08:37 -08:00
jennifersp
f0bcb7e6b3
allow not and is null clauses with dolt diff table ( #4797 )
2022-11-15 13:38:15 -08:00
Pavel Safronov
c9f1316840
PR feedback and other:
...
- move tests to better locations
- remove debug echo statements from new tests
- getting the latest version of GMS
2022-11-11 12:13:19 -08:00
Maximilian Hoffman
b351314939
join ordering GMS bump ( #4516 )
...
* init
* go.mod changes
* gms bump
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* edit local gms
* GMS changes
* skip single q test
* fix tests
* fix lingering tests
* bump
* another explain bats
* gms bump
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
* gms bump
* [ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
Co-authored-by: max-hoffman <max-hoffman@users.noreply.github.com >
2022-10-25 09:06:16 -07:00
jennifersp
eee8a7224e
add file read progress info for dolt sql --file=<file.sql> command ( #4524 )
2022-10-13 11:29:50 -07:00
James Cor
079c8ad5b0
adding test
2022-10-11 12:45:02 -07:00
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