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
jennifersp
77a0bb6d68
add bats test for release all locks on session end ( #5257 )
2023-01-30 19:43:21 -08:00
Daylon Wilkins
8aeb1c659e
Removed deprecated dolt functions
2023-01-03 02:13:37 -08:00
Zach Musgrave
7de7829928
Altered a test that relied on LD_1 format
2022-12-28 14:12:17 -08:00
Zach Musgrave
ecb8999124
Skip test of deleting a database dir in a running server
2022-12-28 12:12:08 -08:00
Zach Musgrave
5f5dae3ccf
Squash merge from zachmu/session-transaction to get rid of spurious test files
2022-12-21 13:12:31 -08:00
Andy Arthur
9c62afd73b
bats updates
2022-12-19 16:52:22 -08:00
AndyA
f10cb6ba29
Merge pull request #4944 from dolthub/andy/chunk-journal-sync
...
[no-release-notes] go/store/nbs: progress on chunk journal sync
2022-12-14 12:53:17 -08:00
Dhruv Sringari
5ea4353b0c
Fix 'new manifest created with non 0 lock' error
...
Fix dropping and creating the same database on dolt sql-server. We were caching doltdb's using a singleton
and at the manifest cache level which lead to problems.
2022-12-13 17:27:37 -08:00
Andy Arthur
7092ef0f4b
updated some sql-server related bats
2022-12-07 12:07:22 -08:00
coffeegoddd
4910bb20bc
/integration-tests/bats/sql-server.bats: add skipped bats test for creating savepoint without first using db
2022-11-29 14:03:51 -08:00
Jason Fulghum
abd954733d
Changing log_level field of YAML config format to be case insensitive.
2022-11-28 12:51:40 -08:00
Jason Fulghum
9166384b75
Changing loglevel param to be case insensitive. Fixes: https://github.com/dolthub/dolt/issues/4864
2022-11-28 11:42:41 -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
jennifersp
9bd2a889b6
warning instead of error for unix socket address already in use when starting sql server ( #4697 )
2022-11-07 19:55:18 -08:00
Aaron Son
e7cde63106
Merge pull request #4641 from dolthub/aaron/bats-move-sql-server-temporary-table-test
...
integration-tests/bats/sql-server.bats: Move the temporary table session specific test to go-sql-server-driver.
2022-10-28 16:27:56 -07:00