mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-04 04:28:08 +00:00 
			
		
		
		
	Fix sys/health tests (#3762)
* Fix sys/health tests * Fix sys/health tests * Fix sys/health tests
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							78adac0a24
						
					
				
				
					commit
					202a7aec2c
				
			@@ -23,6 +23,7 @@ func TestSysHealth_get(t *testing.T) {
 | 
			
		||||
 | 
			
		||||
	var actual map[string]interface{}
 | 
			
		||||
	expected := map[string]interface{}{
 | 
			
		||||
		"replication_dr_secondary": false,
 | 
			
		||||
		"initialized":              false,
 | 
			
		||||
		"sealed":                   true,
 | 
			
		||||
		"standby":                  true,
 | 
			
		||||
@@ -53,6 +54,7 @@ func TestSysHealth_get(t *testing.T) {
 | 
			
		||||
 | 
			
		||||
	actual = map[string]interface{}{}
 | 
			
		||||
	expected = map[string]interface{}{
 | 
			
		||||
		"replication_dr_secondary": false,
 | 
			
		||||
		"initialized":              true,
 | 
			
		||||
		"sealed":                   true,
 | 
			
		||||
		"standby":                  true,
 | 
			
		||||
@@ -87,6 +89,7 @@ func TestSysHealth_get(t *testing.T) {
 | 
			
		||||
 | 
			
		||||
	actual = map[string]interface{}{}
 | 
			
		||||
	expected = map[string]interface{}{
 | 
			
		||||
		"replication_dr_secondary": false,
 | 
			
		||||
		"initialized":              true,
 | 
			
		||||
		"sealed":                   false,
 | 
			
		||||
		"standby":                  false,
 | 
			
		||||
@@ -127,6 +130,7 @@ func TestSysHealth_customcodes(t *testing.T) {
 | 
			
		||||
 | 
			
		||||
	var actual map[string]interface{}
 | 
			
		||||
	expected := map[string]interface{}{
 | 
			
		||||
		"replication_dr_secondary": false,
 | 
			
		||||
		"initialized":              false,
 | 
			
		||||
		"sealed":                   true,
 | 
			
		||||
		"standby":                  true,
 | 
			
		||||
@@ -158,6 +162,7 @@ func TestSysHealth_customcodes(t *testing.T) {
 | 
			
		||||
 | 
			
		||||
	actual = map[string]interface{}{}
 | 
			
		||||
	expected = map[string]interface{}{
 | 
			
		||||
		"replication_dr_secondary": false,
 | 
			
		||||
		"initialized":              true,
 | 
			
		||||
		"sealed":                   true,
 | 
			
		||||
		"standby":                  true,
 | 
			
		||||
@@ -193,6 +198,7 @@ func TestSysHealth_customcodes(t *testing.T) {
 | 
			
		||||
 | 
			
		||||
	actual = map[string]interface{}{}
 | 
			
		||||
	expected = map[string]interface{}{
 | 
			
		||||
		"replication_dr_secondary": false,
 | 
			
		||||
		"initialized":              true,
 | 
			
		||||
		"sealed":                   false,
 | 
			
		||||
		"standby":                  false,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user