mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 20:36:16 +01:00 
			
		
		
		
	parts.partition_float_myisam, parts.partition_int_myisam, parts.partition_float_innodb are all known to fail with timeouts on slow builders. The tests are composed of several independent parts for corresponding subtypes (float == float + double, int == tinyint + smallint + mediumint + int + bigint). The solution is to split them into separate tests. No test logic has been changed.
		
			
				
	
	
		
			46 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
################################################################################
 | 
						|
# t/partition_tinyint_innodb.test                                              #
 | 
						|
#                                                                              #
 | 
						|
# Purpose:                                                                     #
 | 
						|
#  Tests around integer type                                                   #
 | 
						|
#        INNODB branch                                                         #
 | 
						|
#                                                                              #
 | 
						|
#------------------------------------------------------------------------------#
 | 
						|
# Original Author: HH                                                          #
 | 
						|
# Original Date: 2006-08-01                                                    #
 | 
						|
# Change Author: Elena Stepanova                                               #
 | 
						|
# Change Date: 2017-02-18                                                      #
 | 
						|
# Change: The test file is spawned from the mega-test partition_int_innodb     #
 | 
						|
################################################################################
 | 
						|
 | 
						|
#
 | 
						|
# NOTE: PLEASE DO NOT ADD NOT INNODB SPECIFIC TESTCASES HERE !
 | 
						|
#       TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
 | 
						|
#       THE SOURCED FILES ONLY.
 | 
						|
#
 | 
						|
# Please read the README at the end of inc/partition.pre before changing
 | 
						|
# any of the variables.
 | 
						|
#
 | 
						|
 | 
						|
#------------------------------------------------------------------------------#
 | 
						|
# General not engine specific settings and requirements
 | 
						|
 | 
						|
##### Options, for debugging support #####
 | 
						|
let $debug= 0;
 | 
						|
 | 
						|
# The server must support partitioning.
 | 
						|
--source include/have_partition.inc
 | 
						|
 | 
						|
#------------------------------------------------------------------------------#
 | 
						|
# Engine specific settings and requirements
 | 
						|
 | 
						|
##### Storage engine to be tested
 | 
						|
--source include/have_innodb.inc
 | 
						|
let $engine= 'InnoDB';
 | 
						|
 | 
						|
##### max rows to be inserted
 | 
						|
let $maxrows=1024;
 | 
						|
 | 
						|
#------------------------------------------------------------------------------#
 | 
						|
# Execute the tests to be applied to all storage engines
 | 
						|
--source suite/parts/inc/partition_tinyint.inc
 |