maxscale-system-test changed in order to control test environment by itself. Every test checks which machines are running, compare with list of needed machines and start new VMs is they are missing in the running machines list. Tests are executiong MDBCI commands, MDBCI executable should be in the PATH
		
			
				
	
	
		
			19 lines
		
	
	
		
			485 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			485 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef TEMPLATES_H
 | 
						|
#define TEMPLATES_H
 | 
						|
 | 
						|
static struct
 | 
						|
{
 | 
						|
    const char* test_name;
 | 
						|
    const char* test_template;
 | 
						|
    const char* test_labels;
 | 
						|
} cnf_templates[] __attribute__((unused)) = {
 | 
						|
@CNF_TEMPLATES@ {NULL, NULL, NULL}};
 | 
						|
 | 
						|
/** The default template to use */
 | 
						|
static const char * default_template __attribute__((unused)) = "replication";
 | 
						|
 | 
						|
/** This is the working directory for all tests */
 | 
						|
static const char *test_dir __attribute__((unused)) = "@CMAKE_CURRENT_SOURCE_DIR@";
 | 
						|
 | 
						|
#endif
 |