Commit Graph

12 Commits

Author SHA1 Message Date
Aaron Son 09e0ee22eb Add @GLOBAL.dolt_auto_gc_enabled system variable to inspect whether auto GC is enabled.
The system variable is read-only. The only way to enable Auto GC remains setting:

behavior:
  auto_gc_behavior:
    enable: true

in the config.yaml file which is given to `dolt sql-server` in its `--config` parameter.
2025-07-07 15:22:40 -07:00
Aaron Son 14f5157b03 [no-release-notes] integration-tests/go-sql-server-driver: Add dynamic port allocation and run these tests in parallel.
Takes local runtime from 500+s to ~100s.
2025-03-17 17:48:33 -07:00
Zach Musgrave 324e4bb5ed Removed unused tests 2024-12-06 15:08:23 -08:00
James Cor c98d46058c fix test 2024-02-09 01:28:12 -08:00
Jason Fulghum aacaff1f76 Fixing test references for non-explicitly specified SESSION sys vars 2024-01-17 15:56:53 -08:00
Aaron Son 6d7c73575d dolt sql-server: Add a system_variables: key to config.yaml, which allows setting global system variables.
For example, this can be used to set `secure_file_priv` when the server starts
up. That variable is non-dynamic, so it cannot be set with `SET @@GLOBAL...`
2023-08-15 15:53:18 -07:00
Aaron Son 2674c3cf2a sql-server: Allow dolt_log_level system variable to receive writes and dynamically update the log level. 2023-05-10 14:46:45 -07:00
Aaron Son 663d2e3181 sql-server: Expose the current server log level through the dolt_log_level system variable. 2023-05-10 14:25:41 -07:00
Aaron Son 364024f7a2 integration-tests/go-sql-server-driver: Make a new connection pool per connection assertion, instead of trying to reuse them.
Simpler.

Much better structure for lots of tests which test things like connection
strings, users and passwords provided at connection time, etc.
2022-10-03 15:26:48 -07:00
Aaron Son 7ebc1bb45f integration-tests/go-sql-server-driver: Move Server definitions to TestRepo/MultiRepo, instead of a separate top-level field. 2022-10-03 12:04:35 -07:00
Aaron Son cf639c3585 integration-tests/go-sql-server-driver: Start converting some sql-server bats tests. 2022-10-03 10:01:47 -07:00
Aaron Son 1857806d2d integration-tests/go-sql-server-driver: Proof of concept a declarative approach to integration tests for sql-server interactions.
Converts bats/sql-server-config.bats to use a new approach.
2022-10-01 15:42:22 -07:00