Browse Source

Fix many test failures in parts test suite with --embedded-server.

Fix some connect options to work with embedded.

Disable in --embedded tests that rely on connecting to mysqld externally by
spawning mysqltest.

Disable in --embedded tests that rely on the mysqltest --list_files command,
which does not seem to work properly in --embedded.

mysql-test/suite/parts/t/partition_alter1_1_2_innodb.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter1_1_2_myisam.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter1_1_innodb.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter1_1_myisam.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter1_2_innodb.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter1_2_myisam.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter2_1_innodb.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter2_1_maria.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter2_1_myisam.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter2_2_innodb.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter2_2_maria.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter2_2_myisam.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter3_innodb.test:
  Disable in --embedded tests that rely on the mysqltest --list_files command,
  which does not seem to work properly in --embedded.
mysql-test/suite/parts/t/partition_alter3_myisam.test:
  Disable in --embedded tests that rely on the mysqltest --list_files command,
  which does not seem to work properly in --embedded.
mysql-test/suite/parts/t/partition_alter4_innodb.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_alter4_myisam.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_basic_innodb.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_basic_myisam.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_basic_symlink_myisam.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_engine_innodb.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_engine_myisam.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_special_innodb.test:
  Fix some connect options to work with embedded.
mysql-test/suite/parts/t/partition_syntax_innodb.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
mysql-test/suite/parts/t/partition_syntax_myisam.test:
  Disable in --embedded tests that rely on connecting to mysqld externally by
  spawning mysqltest.
pull/843/head
unknown 16 years ago
parent
commit
b27fdb26b2
  1. 3
      mysql-test/suite/parts/t/partition_alter1_1_2_innodb.test
  2. 3
      mysql-test/suite/parts/t/partition_alter1_1_2_myisam.test
  3. 3
      mysql-test/suite/parts/t/partition_alter1_1_innodb.test
  4. 3
      mysql-test/suite/parts/t/partition_alter1_1_myisam.test
  5. 3
      mysql-test/suite/parts/t/partition_alter1_2_innodb.test
  6. 3
      mysql-test/suite/parts/t/partition_alter1_2_myisam.test
  7. 3
      mysql-test/suite/parts/t/partition_alter2_1_innodb.test
  8. 3
      mysql-test/suite/parts/t/partition_alter2_1_maria.test
  9. 3
      mysql-test/suite/parts/t/partition_alter2_1_myisam.test
  10. 3
      mysql-test/suite/parts/t/partition_alter2_2_innodb.test
  11. 3
      mysql-test/suite/parts/t/partition_alter2_2_maria.test
  12. 3
      mysql-test/suite/parts/t/partition_alter2_2_myisam.test
  13. 2
      mysql-test/suite/parts/t/partition_alter3_innodb.test
  14. 2
      mysql-test/suite/parts/t/partition_alter3_myisam.test
  15. 3
      mysql-test/suite/parts/t/partition_alter4_innodb.test
  16. 3
      mysql-test/suite/parts/t/partition_alter4_myisam.test
  17. 3
      mysql-test/suite/parts/t/partition_basic_innodb.test
  18. 3
      mysql-test/suite/parts/t/partition_basic_myisam.test
  19. 3
      mysql-test/suite/parts/t/partition_basic_symlink_myisam.test
  20. 3
      mysql-test/suite/parts/t/partition_engine_innodb.test
  21. 3
      mysql-test/suite/parts/t/partition_engine_myisam.test
  22. 4
      mysql-test/suite/parts/t/partition_special_innodb.test
  23. 3
      mysql-test/suite/parts/t/partition_syntax_innodb.test
  24. 3
      mysql-test/suite/parts/t/partition_syntax_myisam.test

3
mysql-test/suite/parts/t/partition_alter1_1_2_innodb.test

@ -43,6 +43,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter1_1_2_myisam.test

@ -42,6 +42,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter1_1_innodb.test

@ -42,6 +42,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter1_1_myisam.test

@ -43,6 +43,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter1_2_innodb.test

@ -43,6 +43,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter1_2_myisam.test

@ -43,6 +43,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter2_1_innodb.test

@ -40,6 +40,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter2_1_maria.test

@ -40,6 +40,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter2_1_myisam.test

@ -40,6 +40,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter2_2_innodb.test

@ -40,6 +40,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter2_2_maria.test

@ -40,6 +40,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter2_2_myisam.test

@ -40,6 +40,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

2
mysql-test/suite/parts/t/partition_alter3_innodb.test

@ -39,6 +39,8 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on --list_files, which doesn't work correctly in embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

2
mysql-test/suite/parts/t/partition_alter3_myisam.test

@ -39,6 +39,8 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on --list_files, which doesn't work correctly in embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter4_innodb.test

@ -40,6 +40,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_alter4_myisam.test

@ -40,6 +40,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_basic_innodb.test

@ -40,6 +40,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_basic_myisam.test

@ -40,6 +40,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_basic_symlink_myisam.test

@ -40,6 +40,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc
# The server must support symlink for DATA/INDEX DIRECTORY.

3
mysql-test/suite/parts/t/partition_engine_innodb.test

@ -39,6 +39,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_engine_myisam.test

@ -39,6 +39,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

4
mysql-test/suite/parts/t/partition_special_innodb.test

@ -58,8 +58,8 @@ ENGINE = InnoDB
PARTITION BY HASH (a)
PARTITIONS 2;
connect (con1,127.0.0.1,root,,test,$MASTER_MYPORT,);
connect (con2,127.0.0.1,root,,test,$MASTER_MYPORT,);
connect (con1,localhost,root,,test,$MASTER_MYPORT,);
connect (con2,localhost,root,,test,$MASTER_MYPORT,);
--connection con1
SET autocommit=OFF;

3
mysql-test/suite/parts/t/partition_syntax_innodb.test

@ -39,6 +39,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

3
mysql-test/suite/parts/t/partition_syntax_myisam.test

@ -39,6 +39,9 @@ SET @max_row = 20;
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# This test relies on connecting externally from mysqltest, doesn't
# work with embedded.
--source include/not_embedded.inc
# The server must support partitioning.
--source include/have_partition.inc

Loading…
Cancel
Save