 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
		
			
				
	
	
		
			22 lines
		
	
	
		
			753 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			753 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| int   create_tcp_socket();
 | |
| char* get_ip(char* host);
 | |
| char* build_get_query(char* host, const char* page);
 | |
| 
 | |
| /**
 | |
|  * @brief get_maxinfo does request to Maxinfo service and return response JSON
 | |
|  * @param page retrived info name
 | |
|  * @param Test TestConnection object
 | |
|  * @return response from Maxinfo
 | |
|  */
 | |
| char* get_maxinfo(const char* page, TestConnections* Test);
 | |
| 
 | |
| char* read_sc(int sock);
 | |
| int   send_so(int sock, char* data);
 | |
| static char hexconvtab[] __attribute__ ((unused)) = "0123456789abcdef";
 | |
| static char* bin2hex(const unsigned char* old, const size_t oldlen);
 | |
| char*        cdc_auth_srt(char* user, char* password);
 | |
| int          setnonblocking(int sock);
 | |
| int          get_x_fl_from_json(char* line, long long int* x1, long long int* fl);
 |