elianddb
3c88959378
add no_lambda tag
2025-08-04 11:46:46 -07:00
elianddb
bcf5ff94ce
Clean up wildcard authentication test and add customer scenario
...
- Cleaned up test to use helper functions where applicable (definePORT)
- Removed redundant test scenarios and consolidated into one comprehensive test
- Added clear comments referencing the original customer issue #9624
- Test covers both specific IP and wildcard IP patterns like customer's 'foo'@'10.0.0.1' and 'bar'@'10.0.0.%'
- Verifies both MySQL and Dolt client authentication work correctly
- Demonstrates fix for "No authentication methods available for authentication" error
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-08-04 11:26:47 -07:00
elianddb
a711803b9b
Fix dolt client syntax in wildcard authentication bats test
...
Updated dolt client connection commands to use correct global argument
syntax: --host, --port, --user, --password, and --no-tls before the sql
subcommand. This ensures both mysql and dolt clients are properly tested
for wildcard user authentication patterns like 'user'@'127.0.0.%'.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-08-04 11:26:47 -07:00
elianddb
5461f7584e
Add bats test for wildcard user authentication
...
- Tests that users with wildcard IP patterns like 'user'@'127.0.0.%' can authenticate
- Verifies both specific IP users and wildcard users work correctly
- Covers the authentication fix for issue #9624
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-08-04 11:26:47 -07:00
Jason Fulghum
9dd401c286
Deprecate user and pass options for sql-server
2025-02-03 13:21:07 -08:00
Jason Fulghum
1265e0013e
fixup: Removing duplicate test from cherry-pick/rebase
2025-01-14 18:03:25 -08:00
Jason Fulghum
63c5ce1adb
Allow dolt sql command line access to always log in as the root superuser account, even if the root account was assigned a password
2025-01-14 17:52:32 -08:00
Jason Fulghum
9fb0046d34
Allowing the root superuser host and password to be overridden via env vars
2025-01-14 17:52:32 -08:00
Jason Fulghum
eccaa4f56b
Changing to persist a root superuser that gets created on first launch of sql-server when there are no existing privileges.
2025-01-14 17:50:13 -08:00
Jason Fulghum
17c65a7d20
Allow dolt sql command line access to always log in as the root superuser account, even if the root account was assigned a password
2025-01-14 13:31:09 -08: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
Aaron Son
2d738b7b1d
intergration-tests/bats: Update tests for new sql-server.info filename.
2023-11-30 15:15:13 -08:00
Stephanie You
a5c66246c5
Merge remote-tracking branch 'origin/main' into steph/deprecate-sql-client
2023-11-03 16:55:15 -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
Neil Macneale IV
ad5ccae8bd
typo
2023-10-31 11:01:05 -07:00
Neil Macneale IV
21740019f9
Test the privilege serialization doesn't write empty databases ( #6701 )
2023-09-25 09:23:06 -07:00
Jason Fulghum
97c2e63089
Removing a few more python references
2023-06-08 11:05:00 -07:00
jennifersp
a6278667b7
add bats tests for information schema tables ( #5225 )
2023-01-27 08:48:08 -08:00
Tim Sehn
e94532a1cc
Merged the sleep fix. Had already done it locally so I kept local
2022-10-26 17:58:25 -07:00
Tim Sehn
d88df25223
Add sleeps to give the server a cvhance to start up. Was failing weirdly on my Maxc without this
2022-10-26 17:52:19 -07:00
Tim Sehn
aaa5a15434
Removed a server_query in sql-privs.bats I missed
2022-10-26 13:23:04 -07:00
Tim Sehn
752a954b67
Migrated sql-privs.bats to dolt sql-client
2022-10-26 13:15:55 -07:00
Tim Sehn
bcf8ce0c19
Progress on migrating sql-privs.bats to dolt sql-client
2022-10-26 11:43:06 -07:00
Tim Sehn
6af00ce059
Fixed all (or at least most) bats tests
2022-10-21 12:12:07 -07:00
jennifersp
24108f14a2
get unused port number and stop running server only ( #4550 )
2022-10-14 14:07:35 -07:00
James Cor
9e30c6951b
new logic and tests
2022-09-13 16:01:25 -07:00
James Cor
da9177518b
bats testsgit add .!
2022-09-13 14:17:12 -07:00
Timothy Sehn
f62ba4ac77
Checkpoint. Most bats working. Confirming locally.
2022-08-22 16:35:22 -07:00
Timothy Sehn
58ca970009
Privileges bats first pass
2022-08-19 14:59:46 -07:00
Timothy Sehn
3177bef418
Deleting user test
2022-08-19 14:31:01 -07:00
Timothy Sehn
dc0c5a3f46
Machinery for testing passwords
2022-08-19 14:20:46 -07:00
James Cor
1cf51dd5f1
Merge pull request #4110 from dolthub/james/privs
...
sql-server host shouldn't affect default superuser
2022-08-17 15:54:29 -07:00
Zach Musgrave
cf64234bfa
Fixed 2 more bats tests
2022-08-17 11:31:40 -07:00
James Cor
cf1ca904af
fix and tests
2022-08-16 15:06:46 -07:00
James Cor
d573602989
adding test for server
2022-08-15 13:48:07 -07:00
James Cor
9623166ab9
more privilege changes ( #3810 )
2022-07-27 17:31:57 -07:00
James Cor
587a6b98b5
tests
2022-07-20 00:32:55 -07:00
James Cor
994b3095f1
adding test case
2022-07-20 00:15:36 -07:00
James Cor
a5ee26d86d
adding restart
2022-07-19 13:29:08 -07:00
James Cor
c124ba8de5
another bats test
2022-07-19 12:52:29 -07:00
James Cor
e940f4cb7f
adding test
2022-07-19 12:24:23 -07:00
James Cor
5df638889a
it works on my machine, it'll definitely pass CI
2022-07-14 13:03:43 -07:00
James Cor
e78a3bbf28
too many tests :(
2022-07-13 17:06:58 -07:00
James Cor
a23e1ab65c
asdfasdf
2022-07-08 10:31:22 -07:00
James Cor
764e0bdf07
maybe this was the problem?
2022-07-08 09:57:12 -07:00
James Cor
d646370d2e
??? bats is stupid
2022-07-07 17:06:30 -07:00
James Cor
35affee8bb
maybe this?
2022-07-07 16:28:50 -07:00
James Cor
2d4d35dd45
asdfasdgdthgsthg
2022-07-07 15:45:17 -07:00
James Cor
5c707890ef
making cfgdir
2022-07-07 15:17:00 -07:00