Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
tests: ensure we drop the checkpoints DB before re-run
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytm committed Mar 23, 2019
1 parent e0b0efe commit 216c812
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/checkpoint_engines/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -eu
set -eux

# First, verify that a normal operation is fine.

Expand Down Expand Up @@ -69,6 +69,7 @@ check_contains 'sum(c): 46'
# Now, try again with MySQL checkpoints

run_sql 'DROP DATABASE cpeng;'
run_sql 'DROP DATABASE IF EXISTS tidb_lightning_checkpoint;'

set +e
for i in $(seq "$ENGINE_COUNT"); do
Expand Down

0 comments on commit 216c812

Please sign in to comment.