Commit Graph

91 Commits

Author SHA1 Message Date
Jason Fulghum e72f78e3cf Simplifying wait_for_connection function with a good idea from zachmu 2023-06-09 11:18:36 -07:00
Jason Fulghum 1b9f5b436e Quoting $DEFAULT_DB so empty values don't mess up arg parsing 2023-06-08 09:46:26 -07:00
Jason Fulghum f6a2048e83 Setting --use-db $DEFAULT_DB 2023-06-08 09:46:26 -07:00
Jason Fulghum 107d0e0e42 Changing from 'mysql' to 'dolt sql-client' since the GH MacOS runners don't have the mysql client installed by default 2023-06-08 09:46:26 -07:00
Jason Fulghum 3da9f1b93e Pulling the user name from $SQL_USER instead of a function param 2023-06-08 09:46:26 -07:00
Jason Fulghum 88e1fadd04 Adding comments 2023-06-08 09:46:26 -07:00
Jason Fulghum 561ab24964 First pass at removing Python to detect when the sql-server has fully started up 2023-06-08 09:46:26 -07:00
Zach Musgrave 025eb35fb1 Revert "Merge pull request #6111 from dolthub/fulghum/kill-python"
This reverts commit 223fc0b621, reversing
changes made to 51c2129e51.
2023-06-07 17:26:30 -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
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
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
Jason Fulghum 98b9a858b8 Adding support for --skip-empty for dolt commit and dolt_commit() 2023-06-02 12:49:48 -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 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
Zach Musgrave 3820832239 consolidated replication hook logic more, made more things warnings instead of errors 2023-05-26 10:59:49 -07:00
Nick Tobey fe5254371c Remove definitions for unused skip_nbf functions 2023-05-24 13:40:00 -07:00
Neil Macneale IV 1144060af6 Add support for retrying tests 2023-04-28 16:11:23 -07:00
coffeegoddd ec9b4d7538 /integration-tests/bats: add skipped bats test for overwritten table bug 2023-04-13 10:24:28 -07:00
Jason Fulghum 6f6692ae82 Tidying up comment in teardown_common 2023-03-22 09:34:52 -07:00
Jason Fulghum 2cd90815d3 Adding a call to true as the last statement in the teardown function to ensure it never fails a test. 2023-03-21 20:52:40 -07:00
Aaron Son 04a90f83e5 Remove obsolete __DOLT_DEV__ NomsBinFormat. 2023-03-06 15:38:26 -08:00
jennifersp 96855527a4 support CLI dolt stash command (#5422) 2023-03-03 16:25:24 -08:00
Zach Musgrave 10049193ba Fixed bugginess in server shutdown wait for bats 2023-02-09 10:06:11 -08:00
Andy Arthur 9c62afd73b bats updates 2022-12-19 16:52:22 -08:00
Tim Sehn 80f9a597a5 Modified existing tests to match new inetrface 2022-11-14 13:14:49 -08:00
Dhruv Sringari 9d1cdec100 add some json bats for the new format 2022-11-03 18:36:25 -07:00
Tim Sehn b85a49b535 Remove unused code from pytest as well 2022-10-28 12:55:30 -07:00
Tim Sehn a2bd70e822 Delete server_query code 2022-10-28 12:54:16 -07:00
Jason Fulghum 89ae36a108 Stop using default socket location unless the test requires testing it and add extra handling to remove shared, global socket file when shutting down. Hunch is that socket file is not always getting cleaned up and causing other tests to fail to start sql-server. 2022-10-25 15:07:08 -07:00
Jason Fulghum 36426cea41 Stop requesting a new port when making a request to a running server. 2022-10-25 14:00:10 -07:00
Jason Fulghum 4da47965be Fixing wrong variable name 2022-10-25 10:59:04 -07:00
Tim Sehn 50739524f4 Made server_query error on bad queries where we expect no results. Fixed deleted-branches.bats. 2022-10-20 16:16:21 -07:00
jennifersp 24108f14a2 get unused port number and stop running server only (#4550) 2022-10-14 14:07:35 -07:00
AndyA 82ff7f1c53 Merge pull request #4431 from dolthub/andy/flip-format
Make NomsBinFormat `__DOLT__` the default format
2022-09-30 10:15:10 -07:00
Andy Arthur b79a10985c update bats for format flip 2022-09-30 08:42:12 -07:00
Aaron Son c0d0e143bb bats: sql-server-cluster: Add bats test for server failing to start if a local database is missing the standby remote. 2022-09-27 14:52:45 -07:00
Aaron Son 13e8cab325 sql-server: Add read-only handling for cluster role and role_epoch system variables. 2022-09-22 10:04:32 -07:00
Timothy Sehn e7a0e1d51b a bit better docs 2022-08-22 18:30:48 -07:00
Timothy Sehn c562e86c43 Max feedback. Fix test broken by compiling main. 2022-08-22 18:24:52 -07:00
Timothy Sehn e73b5ac18b fix comment 2022-08-22 16:58:40 -07:00