github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/tests/integration_tests/tidb_mysql_test/test.sh (about)

     1  #!/bin/bash
     2  
     3  CUR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
     4  source $CUR/../_utils/test_prepare
     5  
     6  # make sure all test cases use database `test`
     7  echo -e "mysql_test start\n"
     8  TEST_BIN_PATH=./mysql_test
     9  set -eu
    10  ./build.sh
    11  echo "run all mysql test cases"
    12  "$TEST_BIN_PATH" --host=${UP_TIDB_HOST} --port=${UP_TIDB_PORT} --log-level=error --all=true --reserve-schema=true
    13  
    14  echo "mysqltest end"