• Mattias Jonsson's avatar
    Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory) · 84760783
    Mattias Jonsson authored
    It is a very big test and as such it takes a lot of time.
    
    Solution is to divide the test in two parts, one for testing increasing
    column size and one for decreasing size.
    
    The innodb branch does extended tests (that myisam is not) due to the
    $do_pk_tests variabel, that is the reason why the innodb branch takes
    longer.
    
    No increase of memory usage in innodb was found when analyzing, (tested
    with looping some millions time of create/drop and alter commands)
    
    The memory exhaust discovered in the test is due to mysqltest which
    stores the result in memory (result-file) and this was the biggest
    result file in the test framework, so by dividing the test into two
    parts also cuts the memory usage of mysqltest.
    
    mysql-test/suite/parts/inc/partition_alter2_1.inc:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Splitted the test into two parts (one for increasing column size
      and one for decreasing)
      
      This leads to lower test case time (to avoid test case timeout)
      and less memory consumption of mysqltest (due to smaller result file)
    mysql-test/suite/parts/inc/partition_alter2_2.inc:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Splitted the test into two parts (one for increasing column size
      and one for decreasing)
      
      This leads to lower test case time (to avoid test case timeout)
      and less memory consumption of mysqltest (due to smaller result file)
    mysql-test/suite/parts/r/partition_alter2_1_innodb.result:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Splitted the test into two parts (one for increasing column size
      and one for decreasing)
      
      This leads to lower test case time (to avoid test case timeout)
      and less memory consumption of mysqltest (due to smaller result file)
    mysql-test/suite/parts/r/partition_alter2_1_myisam.result:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Splitted the test into two parts (one for increasing column size
      and one for decreasing)
      
      This leads to lower test case time (to avoid test case timeout)
      and less memory consumption of mysqltest (due to smaller result file)
    mysql-test/suite/parts/r/partition_alter2_2_innodb.result:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Splitted the test into two parts (one for increasing column size
      and one for decreasing)
      
      This leads to lower test case time (to avoid test case timeout)
      and less memory consumption of mysqltest (due to smaller result file)
    mysql-test/suite/parts/r/partition_alter2_2_myisam.result:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Splitted the test into two parts (one for increasing column size
      and one for decreasing)
      
      This leads to lower test case time (to avoid test case timeout)
      and less memory consumption of mysqltest (due to smaller result file)
    mysql-test/suite/parts/t/disabled.def:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Removed the test completely (since it has never been supported)
    mysql-test/suite/parts/t/partition_alter2_1_innodb.test:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Splitted the test into two parts (one for increasing column size
      and one for decreasing)
      
      This leads to lower test case time (to avoid test case timeout)
      and less memory consumption of mysqltest (due to smaller result file)
    mysql-test/suite/parts/t/partition_alter2_1_myisam.test:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Splitted the test into two parts (one for increasing column size
      and one for decreasing)
      
      This leads to lower test case time (to avoid test case timeout)
      and less memory consumption of mysqltest (due to smaller result file)
    mysql-test/suite/parts/t/partition_alter2_2_innodb.test:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Splitted the test into two parts (one for increasing column size
      and one for decreasing)
      
      This leads to lower test case time (to avoid test case timeout)
      and less memory consumption of mysqltest (due to smaller result file)
    mysql-test/suite/parts/t/partition_alter2_2_myisam.test:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Splitted the test into two parts (one for increasing column size
      and one for decreasing)
      
      This leads to lower test case time (to avoid test case timeout)
      and less memory consumption of mysqltest (due to smaller result file)
    mysql-test/suite/parts/t/partition_alter2_ndb.test:
      Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory)
      
      Removing test since ndb has never supported these tests
    84760783
partition_alter2_2_myisam.test 3.17 KB