mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-04 04:28:08 +00:00 
			
		
		
		
	* Raft retry join * update * Make retry join work with shamir seal * Return upon context completion * Update vault/raft.go Co-Authored-By: Brian Kassouf <briankassouf@users.noreply.github.com> * Address some review comments * send leader information slice as a parameter * Make retry join work properly with Shamir case. This commit has a blocking issue * Fix join goroutine exiting before the job is done * Polishing changes * Don't return after a successful join during unseal * Added config parsing test * Add test and fix bugs * minor changes * Address review comments * Fix build error Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
		
			
				
	
	
		
			44 lines
		
	
	
		
			719 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			719 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// +build !enterprise
 | 
						|
 | 
						|
package server
 | 
						|
 | 
						|
import (
 | 
						|
	"testing"
 | 
						|
)
 | 
						|
 | 
						|
func TestLoadConfigFile(t *testing.T) {
 | 
						|
	testLoadConfigFile(t)
 | 
						|
}
 | 
						|
 | 
						|
func TestLoadConfigFile_topLevel(t *testing.T) {
 | 
						|
	testLoadConfigFile_topLevel(t, nil)
 | 
						|
}
 | 
						|
 | 
						|
func TestLoadConfigFile_json(t *testing.T) {
 | 
						|
	testLoadConfigFile_json(t)
 | 
						|
}
 | 
						|
 | 
						|
func TestLoadConfigFile_json2(t *testing.T) {
 | 
						|
	testLoadConfigFile_json2(t, nil)
 | 
						|
}
 | 
						|
 | 
						|
func TestLoadConfigDir(t *testing.T) {
 | 
						|
	testLoadConfigDir(t)
 | 
						|
}
 | 
						|
 | 
						|
func TestConfig_Sanitized(t *testing.T) {
 | 
						|
	testConfig_Sanitized(t)
 | 
						|
}
 | 
						|
 | 
						|
func TestParseListeners(t *testing.T) {
 | 
						|
	testParseListeners(t)
 | 
						|
}
 | 
						|
 | 
						|
func TestParseEntropy(t *testing.T) {
 | 
						|
	testParseEntropy(t, true)
 | 
						|
}
 | 
						|
 | 
						|
func TestConfigRaftRetryJoin(t *testing.T) {
 | 
						|
	testConfigRaftRetryJoin(t)
 | 
						|
}
 |