Merge pull request #6107 from dolthub/nicktobey/sqltests

Skip `remotes-sql-server.bats` and `sql-server.bats` when running BATS in remote-engine configuration.
This commit is contained in:
Nick Tobey
2023-06-06 22:01:44 -07:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -10,6 +10,9 @@ make_repo() {
}
setup() {
if [ "$SQL_ENGINE" = "remote-engine" ]; then
skip "This test tests remote connections directly, SQL_ENGINE is not needed."
fi
setup_no_dolt_init
make_repo repo1
mkdir rem1

View File

@@ -11,6 +11,9 @@ make_repo() {
setup() {
skiponwindows "tests are flaky on Windows"
if [ "$SQL_ENGINE" = "remote-engine" ]; then
skip "This test tests remote connections directly, SQL_ENGINE is not needed."
fi
setup_no_dolt_init
make_repo repo1
make_repo repo2