 cd732ac14f
			
		
	
	cd732ac14f
	
	
	
		
			
			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
		
			
				
	
	
		
			28 lines
		
	
	
		
			781 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			781 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <iostream>
 | |
| #include "testconnections.h"
 | |
| #include "maxadmin_operations.h"
 | |
| #include "sql_t1.h"
 | |
| 
 | |
| /**
 | |
|  * @brief check_sha1 Check that checksum of binlog files on Maxscale machines and all backends are equal
 | |
|  * @param Test TestConnections object
 | |
|  * @return 0 if binlog files checksums are identical
 | |
|  */
 | |
| int check_sha1(TestConnections* Test);
 | |
| 
 | |
| /**
 | |
|  * @brief start_transaction Template for test transaction (used by test_binlog()
 | |
|  * @param Test TestConnections object
 | |
|  * @return 0 in case of success
 | |
|  */
 | |
| int start_transaction(TestConnections* Test);
 | |
| 
 | |
| /**
 | |
|  * @brief test_binlog Execute a number of tests for check if binlog router is ok
 | |
|  * (see test description in setup_binlog.cpp)
 | |
|  * @param Test TestConnections object
 | |
|  */
 | |
| void test_binlog(TestConnections* Test);
 |