mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 18:48:08 +00:00 
			
		
		
		
	Clean up container on connection failure, switch to ory/dockertest on package postgresql (#5050)
This commit is contained in:
		 Calvin Leung Huang
					Calvin Leung Huang
				
			
				
					committed by
					
						 Brian Kassouf
						Brian Kassouf
					
				
			
			
				
	
			
			
			 Brian Kassouf
						Brian Kassouf
					
				
			
						parent
						
							6977aa70f1
						
					
				
				
					commit
					ece7569aca
				
			| @@ -311,6 +311,7 @@ func prepareDynamoDBTestContainer(t *testing.T) (cleanup func(), retAddress stri | ||||
| 		} | ||||
| 		return nil | ||||
| 	}); err != nil { | ||||
| 		cleanup() | ||||
| 		t.Fatalf("Could not connect to docker: %s", err) | ||||
| 	} | ||||
| 	return cleanup, retAddress, credentials.NewStaticCredentials("fake", "fake", "") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user