Commit Graph

204 Commits

Author SHA1 Message Date
Jason Fulghum
0ccc3349b6 Adding tests for dolt CLI error messages in an uninitialized directory where a sql-server is running 2024-05-17 12:13:13 -07:00
Jason Fulghum
51edd8decb Bug fix: dolt sql-server should initialize persisted global variables from its local config store 2024-05-14 16:52:17 -07:00
Jason Fulghum
6386ad810c Making wait_for_connection timeouts consistent to try and prevent timeouts in lambda execution 2024-05-13 15:03:34 -07:00
Nick Tobey
efec700aeb innodb_autoinc_lock_mode now supports other values. Remove test that asserted it can't. 2024-04-10 09:30:31 -07:00
James Cor
676c7e9f00 innodb_autoinc_lock_mode tests (#7637) 2024-03-22 15:59:40 -07:00
Jason Fulghum
c7076d9f75 Fixing test from change to match how MySQL returns system variable names 2024-01-17 15:48:09 -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
Aaron Son
751840ea61 integration-tests/bats: Update bats tests for new sql-server.lock semantics. 2023-11-29 17:56:24 -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
Stephanie You
7b2dd70f78 fix sql server test 2023-11-03 15:30:25 -07:00
Stephanie You
7a7a0384f8 simplify connection flags 2023-11-02 21:15:36 -07:00
Stephanie You
290ca7d4ab remove dolt sql-client from bats tests 2023-11-01 18:03:14 -07:00
Stephanie You
5b2169c37f fix bats tests 2023-10-30 12:32:23 -07:00
jennifersp
c107df2bc2 add --all flag for dolt push (#6787) 2023-10-14 12:36:25 -07:00
Jason Fulghum
aab6972dad Preventing dolt_checkout from creating new branches in read-only databases.
Fixes: https://github.com/dolthub/dolt/issues/6785
2023-10-12 13:37:09 -07:00
Jason Fulghum
5c6b7829c5 Bug fix for https://github.com/dolthub/dolt/issues/6730
Mark dolt_checkout and dolt_count_commits as read only procedures
2023-09-27 11:40:57 -07:00
Neil Macneale IV
79a2885579 PR Feedback - remove teardown call 2023-08-22 12:17:06 -07:00
Neil Macneale IV
8034567916 Ensure that the --data-dir flag does what we expect it to 2023-08-18 14:46:31 -07:00
Neil Macneale IV
47b58258ef Two additional sql-server tests
Servers don't start where other servers are
`dolt sql` can connect to the empty server
2023-08-18 14:46:31 -07:00
Neil Macneale IV
74759c5e1b Simplify error message to fix test 2023-08-18 14:46:31 -07:00
Nick Tobey
ea79737142 Add additional tests for dolt branch 2023-06-30 12:24:51 -07:00
Neil Macneale IV
2657665463 In local mode allow use of ephemeral root user 2023-06-26 15:54:46 -07:00
Nick Tobey
df259a8c31 Fix sql-server test to use correct user name. 2023-06-20 12:41:56 -07:00
Nick Tobey
3f3acf351c Add BATS tests for call dolt_branch -m 2023-06-20 12:41:56 -07:00
Stephanie You
0739e49b04 fixes failing bats tests, removes irrelevant bats tests 2023-06-16 16:42:48 -07:00
Zach Musgrave
5d56fe3c6d Fixed test that was using -databases 2023-06-16 13:43:55 -07:00
Pavel Safronov
ce0d4cf9a6 Update sql-server.bats to explicitly specify a user when calling dolt status. 2023-06-09 15:52:35 -07:00
Jason Fulghum
97c2e63089 Removing a few more python references 2023-06-08 11:05:00 -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
Jason Fulghum
e826ddcd32 Merge pull request #6025 from dolthub/fulghum/commit-author
Use the SQL user as the Dolt commit author when operating in a SQL context
2023-05-25 08:36:34 -07:00
Jason Fulghum
1200c7d901 Changing the default commit author to be the SQL user 2023-05-24 17:20:29 -07:00
Jason Fulghum
bd9a781f67 Adding a new @@dolt_sql_user_is_committer system variable that uses the current SQL user for the Dolt commit author, instead of the dolt config configured user information. 2023-05-24 14:20:44 -07:00
Jason Fulghum
c56d5c4f22 Allow @@dolt_transaction_commit to be set through sql-server configuration 2023-05-23 15:04:51 -07:00
Neil Macneale IV
4aeaf71f78 Print errors with some context about the remote server 2023-05-18 16:46:18 -07:00
Neil Macneale IV
406052a078 Remove some debugging strings 2023-05-18 15:26:00 -07:00
Neil Macneale IV
fe34fc9e7a Update sql-server.bats to reflect new behavior 2023-05-18 15:26:00 -07:00
Neil Macneale IV
15f60698f9 Move cli flags in bats tests to make them compliant 2023-05-05 11:46:46 -07:00
Neil Macneale IV
f08b325a3e stat command differs between MacOS and Ubuntu 2023-04-20 15:20:49 -07:00
Neil Macneale IV
32ef60f38e Check the permissions in bats test 2023-04-20 15:20:49 -07:00
Andy Arthur
6f25f7370b Merge remote-tracking branch 'origin/main' into andy/locking-journal-manifest 2023-03-30 12:24:57 -07:00
Andy Arthur
41c6ab1938 go/store/nbs: added readOnly guard to journal manifest, updated integration tests 2023-03-22 14:51:12 -07:00
Jason Fulghum
ae23057590 Tidying up tests 2023-03-22 09:58:29 -07:00
Andy Arthur
9081917b24 go/store/nbs: added sentinel error for read-only manifest, fixed true-up 2023-03-21 17:06:41 -07:00
Jason Fulghum
cf36ef0116 Added test that dolt_branch(-d) cannot delete the default branch for a db. 2023-03-21 15:41:33 -07:00
Jason Fulghum
cced96587b Ensuring we create a sql-server lock file when creating databases from a sql context 2023-03-21 12:21:05 -07:00
Andy Arthur
b7ed9f1ebb go/doltcore/{dbfactory, doltdb, env}: refactor database load/creation to only use chunk journal for local databases 2023-03-06 17:00:00 -08:00
Andy Arthur
13cd174332 bats: fix sql-server.bats 2023-03-03 15:10:42 -08:00
jennifersp
0e105b83e5 add bats test for binary string encoded to utf8 (#5294) 2023-02-07 14:47:10 -08:00