Commit Graph

2156 Commits

Author SHA1 Message Date
Jason Fulghum bbd1812373 Merge branch 'zachmu/bats-fix' into fulghum/kill-python 2023-06-07 16:30:21 -07:00
Zach Musgrave 2e4fb2ad7c Fixed bats test for diff error message 2023-06-07 16:28:54 -07:00
Zach Musgrave 9abc8de3a2 Fixed two bats tests 2023-06-07 16:24:34 -07:00
Jason Fulghum f552b640cc Merge branch 'main' into fulghum/kill-python 2023-06-07 16:05:46 -07:00
Jason Fulghum f7e76ee79f Quoting $DEFAULT_DB so empty values don't mess up arg parsing 2023-06-07 14:38:29 -07:00
Jason Fulghum 598983cdba Setting --use-db $DEFAULT_DB 2023-06-07 14:18:10 -07:00
Jason Fulghum 146bb14a46 Changing from 'mysql' to 'dolt sql-client' since the GH MacOS runners don't have the mysql client installed by default 2023-06-07 13:31:15 -07:00
Jason Fulghum 02a0087224 Pulling the user name from $SQL_USER instead of a function param 2023-06-07 12:55:40 -07:00
Jason Fulghum 5cd4f1a1fb Adding comments 2023-06-07 12:39:29 -07:00
Jason Fulghum 06046e4690 First pass at removing Python to detect when the sql-server has fully started up 2023-06-07 12:34:01 -07:00
Zach Musgrave 49e0923cdd updating tests 2023-06-07 12:25:38 -07:00
Zach Musgrave 6e7f27cd8f Merge main 2023-06-07 09:02:30 -07:00
Zach Musgrave ab31d5c826 Fixed tests 2023-06-07 08:55:21 -07:00
Zach Musgrave 2dd3601504 Fixed bats test 2023-06-07 08:35:38 -07:00
Nick Tobey 965457b256 Skip remotes-sql-server.bats and sql-server.bats when running BATS in remote-engine configuration. 2023-06-06 17:35:31 -07:00
Zach Musgrave e672c304ab Merge main 2023-06-06 15:17:07 -07:00
Taylor Bantle b8bc6a2b51 Merge remote-tracking branch 'origin/main' into taylor/load-data-tests 2023-06-06 10:01:18 -07:00
Jason Fulghum e610d000ab Merge pull request #6086 from dolthub/fulghum/skip-empty-commit
Add support for `--skip-empty` to `dolt commit` and `dolt_commit()`
2023-06-06 08:50:47 -07:00
Taylor Bantle ea2e87eac8 Fix go-sql-server-driver tests 2023-06-05 13:39:58 -07:00
Taylor Bantle ed8f23481c Integration tests for load data ignore/replace 2023-06-05 13:23:35 -07:00
Nick Tobey 0d88a6aab8 Fix case sensitivity issue in sql-local-remote.bats 2023-06-05 12:28:14 -07:00
Nick Tobey e313617cff Merge branch 'main' of github.com:dolthub/dolt into nicktobey/addcommand 2023-06-05 11:14:01 -07:00
Nick Tobey a0a90d9110 Remove dolt add test. It will get added with the actual dolt add migration PR. 2023-06-05 09:30:35 -07:00
Nick Tobey 79912bfe6a xargs --no-run-if-empty does not exist on macOS, use xargs -r instead. 2023-06-04 18:07:32 -07:00
Nick Tobey 248fffdf08 Don't run dolt config --unset in tests if there are no vars to unset (because the test was skipped.) 2023-06-04 18:07:18 -07:00
Nick Tobey af6c15a221 Make sql-local-remote.bats more explicit about skipping remote-engine tests. 2023-06-04 18:06:52 -07:00
Nick Tobey 2596999362 Fix case sensitivity issue in sql-local-remote.bats test. 2023-06-04 18:06:26 -07:00
Nick Tobey 27b848623c Ensure we skip sql-local-remote.bats when running in remote server CI mode. 2023-06-04 18:05:50 -07:00
stephanie 69f999531a Merge pull request #6065 from dolthub/steph/dolt-blame
update dolt blame to use sql backend and accept specific revision
2023-06-02 23:51:16 -07:00
Nick Tobey 3935d9aff2 sql-local-remote.bats is for manually testing CLI commands in both local and remote mode. It shouldn't be included in the remote-server CI testing. 2023-06-02 15:28:49 -07:00
Nick Tobey 646178e098 Merge branch 'main' of github.com:dolthub/dolt into nicktobey/addcommand 2023-06-02 15:25:41 -07:00
Zach Musgrave bff42f81fc Merge main 2023-06-02 13:08:13 -07:00
Jason Fulghum 98b9a858b8 Adding support for --skip-empty for dolt commit and dolt_commit() 2023-06-02 12:49:48 -07:00
Stephanie You b32c5e6fed updates dolt blame to work outside of dolt repos 2023-06-02 09:45:59 -07:00
Stephanie You fc4d7439cd update local and remote tests for dolt blame to be more accurate 2023-06-01 16:34:40 -07:00
Nick Tobey 3f327f24fe Ensure that SKIP_SERVER_TESTS won't match on a file name that is a superset of the intended file name, by adding a delimiter. 2023-06-01 11:41:01 -07:00
Nick Tobey 09c723d9f6 Make clear when bats tests are using the remote engine. 2023-06-01 11:40:49 -07:00
Nick Tobey 5260397aed Add basic tests for dolt add 2023-06-01 11:40:45 -07:00
Nick Tobey 244de723ad Don't use $USER env variable, since it's already set by the system. 2023-06-01 09:38:31 -07:00
Nick Tobey 0225f592a3 Rename configuration variable from START_SQL_SERVER to SQL_ENGINE, and use strings for better readability during CI. 2023-06-01 00:59:12 -07:00
Nick Tobey 3c315dbb34 Add list of tests to skip when running with a local-remote server. 2023-06-01 00:25:03 -07:00
Nick Tobey d5f9564895 Allow specifying user in start_sql_server() bats helper function. 2023-06-01 00:24:50 -07:00
Nick Tobey 346b6a89e0 Initial implementation of automatic testing with local remote server. 2023-06-01 00:24:21 -07:00
Stephanie You 4a4bd88ffb clarify skip message in blame.bats 2023-05-31 17:48:47 -07:00
Stephanie You 76c4b6cdaf add remote test for dolt blame 2023-05-31 17:31:42 -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
Stephanie You 413bc12da0 minor dolt blame updates for cleanliness and more tests 2023-05-31 12:16:36 -07:00
Stephanie You bd22c227a6 update existing dolt blame bats tests 2023-05-31 11:14:42 -07:00
Nick Tobey 8fabc2e545 sql-local-remote: cd into correct directory for add test. 2023-05-30 14:52:19 -07:00