mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-09 08:50:23 -06:00
[no-release-notes] fix data dump testing (#5272)
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd ./integration-tests/data-dump-loading-tests
|
||||
|
||||
echo "Updating dolt config for tests:"
|
||||
dolt config --global --add metrics.disabled true
|
||||
dolt config --global --add metrics.host localhost
|
||||
@@ -9,5 +7,4 @@ dolt config --global --add user.name mysql-test-runner
|
||||
dolt config --global --add user.email mysql-test-runner@liquidata.co
|
||||
|
||||
echo "Running data-dump-loading-tests:"
|
||||
bats /data-dump-loading-tests/import-mysqldump.bats
|
||||
bats /data-dump-loading-tests/sakila-data-dump-load.bats
|
||||
cd /data-dump-loading-tests && bats . && cd -
|
||||
|
||||
@@ -505,7 +505,8 @@ SQL
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" =~ "2" ]] || false
|
||||
|
||||
# Give the server a chance to drop the database
|
||||
# Give the server a chance to complete the last query
|
||||
# TODO: `service mysqld stop` is hanging when a check above fails.
|
||||
sleep 1
|
||||
service mysql stop
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user