84 lines
2.3 KiB
Plaintext
84 lines
2.3 KiB
Plaintext
# The include statement below is a temp one for tests that are yet to
|
|
#be ported to run with InnoDB,
|
|
#but needs to be kept for tests that would need MyISAM in future.
|
|
--source include/force_myisam_default.inc
|
|
|
|
#
|
|
# Run the Cluster/J JUnit tests from MTR
|
|
#
|
|
--source include/have_ndb.inc
|
|
--source include/have_big5.inc
|
|
--source include/have_utf8.inc
|
|
--source include/have_sjis.inc
|
|
--source include/not_embedded.inc
|
|
--source suite/ndb/include/have_clusterj.inc
|
|
--source suite/ndb/include/have_connectorj.inc
|
|
--source suite/ndb/include/have_java.inc
|
|
|
|
--let JAVA_CLASSPATH=$CLUSTERJ_TEST_JAR
|
|
--let JAVA_CLASSPATH_1=$CLUSTERJ_JAR
|
|
# MTR_CLASSPATH automatically added to JAVA_CLASSPATH
|
|
--let JAVA_JVM_OPTS= -ea -Xcheck:jni
|
|
--let JAVA_JVM_OPTS_1= -Dclusterj.properties=$MYSQLTEST_VARDIR/tmp/clusterj.properties
|
|
--let JAVA_JVM_OPTS_2= -Djava.library.path="$NDBCLIENT_LIB_DIR"
|
|
--let JAVA_CLASS= testsuite.clusterj.AllTests
|
|
--let JAVA_ARGUMENTS= $CLUSTERJ_TEST_JAR
|
|
|
|
--source suite/ndb/include/run_java.inc
|
|
|
|
--echo Clean up tables used in the JUnit tests.
|
|
DROP TABLE a;
|
|
DROP TABLE allprimitives;
|
|
DROP TABLE autopkint;
|
|
DROP TABLE autopkbigint;
|
|
DROP TABLE autopksmallint;
|
|
DROP TABLE autopktinyint;
|
|
DROP TABLE b0;
|
|
DROP TABLE bigintegertypes;
|
|
DROP TABLE binarypk;
|
|
DROP TABLE binarytypes;
|
|
DROP TABLE bittypes;
|
|
DROP TABLE blobtypes;
|
|
DROP TABLE bytepk;
|
|
DROP TABLE bytestype;
|
|
DROP TABLE cassandra_byte_array;
|
|
DROP TABLE cassandra_string;
|
|
DROP TABLE charsetbig5;
|
|
DROP TABLE charsetlatin1;
|
|
DROP TABLE charsetsjis;
|
|
DROP TABLE charsetswedishutf8;
|
|
DROP TABLE charsetutf8;
|
|
DROP TABLE conversation_summary;
|
|
DROP TABLE datetimetypes;
|
|
DROP TABLE datetypes;
|
|
DROP TABLE decimaltypes;
|
|
DROP TABLE dn2id;
|
|
DROP TABLE doubletypes;
|
|
DROP TABLE floattypes;
|
|
DROP TABLE hashpk;
|
|
DROP TABLE longintstringfk;
|
|
DROP TABLE longintstringix;
|
|
DROP TABLE longintstringpk;
|
|
DROP TABLE longlongstringfk;
|
|
DROP TABLE longlongstringpk;
|
|
DROP TABLE longvarbinarypk;
|
|
DROP TABLE nullvalues;
|
|
DROP TABLE shortpk;
|
|
DROP TABLE stress;
|
|
DROP TABLE stringtype;
|
|
DROP TABLE t_basic;
|
|
DROP TABLE timestamptypes;
|
|
DROP TABLE timetypes;
|
|
DROP TABLE twopk;
|
|
DROP TABLE yeartypes;
|
|
DROP TABLE localetypes;
|
|
DROP TABLE stringtypes;
|
|
DROP TABLE subscriber;
|
|
DROP TABLE hashonlylongintstringpk;
|
|
DROP TABLE varbinarypk;
|
|
DROP TABLE varbinarytypes;
|
|
DROP TABLE IF EXISTS test2.t_basic2;
|
|
DROP DATABASE IF EXISTS test2;
|
|
|
|
exit;
|