mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	testing: improve vmware ssvm test (#4262)
Add sleep before ssvm health check script is run on reboot Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
This commit is contained in:
		
							parent
							
								
									b586eb22f1
								
							
						
					
					
						commit
						c383269a20
					
				| @ -118,7 +118,7 @@ fi | ||||
| # check for connectivity to the management server | ||||
| echo ================================================ | ||||
| echo Management server is $MGMTSERVER.  Checking connectivity. | ||||
| socatout=$(echo | socat - TCP:$MGMTSERVER:8250,connect-timeout=3 2>&1) | ||||
| socatout=$(echo | socat - TCP:$MGMTSERVER:8250,connect-timeout=3 | tr -d '\0' 2>&1) | ||||
| if [ $? -eq 0 ] | ||||
| then | ||||
|     echo "Good: Can connect to management server port 8250" | ||||
| @ -141,6 +141,6 @@ else | ||||
| fi | ||||
| 
 | ||||
| echo ================================================ | ||||
| echo Tests Complete.  Look for ERROR or WARNING above. | ||||
| echo Tests Complete. Look for ERROR or WARNING above. | ||||
| 
 | ||||
| exit 0 | ||||
|  | ||||
| @ -874,6 +874,8 @@ class TestSSVMs(cloudstackTestCase): | ||||
|         # Wait for the agent to be up | ||||
|         self.waitForSystemVMAgent(ssvm_response.name) | ||||
| 
 | ||||
|         # Wait until NFS stores mounted before running the script | ||||
|         time.sleep(30) | ||||
|         # Call to verify cloud process is running | ||||
|         self.test_03_ssvm_internals() | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user