mirror of
https://github.com/dolthub/dolt.git
synced 2026-03-10 01:54:03 -05:00
A long-standing bug in the remotesapi which the sql-server exposes could cause a `dolt clone` to fail when running against a database which had been garbage collected. This change fixes the bug in the server. It also patches the client behavior so that it will tolerate responses from older versions of dolt.
go-sql-server-driver
This is a driver and a test suite for tests interacting with dolt sql-server.
These tests describe a setup for the sql-server(s) which should be running, the
interactions which should be run against the servers, and the assertions which
should pass given those interactions.
This is meant to be more declarative and more robust than using bats for
these integration tests.
Something belongs in this package if it primarily tests interactions with the exposed MySQL port on the sql-server.
Something belongs in bats if it primarily tests interactions with the dolt
binary itself. One example for the dolt sql-server command itself would be
testing config validation which results in exit codes or help text displayed.