Commit Graph

161 Commits

Author SHA1 Message Date
coffeegoddd
be18deb7a3 /{go,integration-tests}: format and fix bats 2024-01-04 16:51:18 -08:00
coffeegoddd
02059c3105 /integration-tests/bats: add tests for bom headers on sql path 2024-01-04 16:46:56 -08:00
Dustin Brown
0757e76287 [auto-bump] [no-release-notes] dependency by jycor (#7236) 2024-01-03 13:12:29 -08:00
Aaron Son
6c5c03dffe integration-tests/bats: Small bats tests improvements for the lambda runner. 2023-12-05 15:14:00 -08:00
Aaron Son
2d738b7b1d intergration-tests/bats: Update tests for new sql-server.info filename. 2023-11-30 15:15:13 -08:00
jennifersp
d09c29cb7e use database name that is the same as directory name on disk (#7020) 2023-11-20 13:20:12 -08:00
jennifersp
8ea2847759 allow hyphen in db name to match its dir name (#6995) 2023-11-16 07:25:55 -08:00
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