diff --git a/http/sys_health_test.go b/http/sys_health_test.go index 056ea5f341..e035891104 100644 --- a/http/sys_health_test.go +++ b/http/sys_health_test.go @@ -23,9 +23,10 @@ func TestSysHealth_get(t *testing.T) { var actual map[string]interface{} expected := map[string]interface{}{ - "initialized": false, - "sealed": true, - "standby": true, + "replication_dr_secondary": false, + "initialized": false, + "sealed": true, + "standby": true, } testResponseStatus(t, resp, 501) testResponseBody(t, resp, &actual) @@ -53,9 +54,10 @@ func TestSysHealth_get(t *testing.T) { actual = map[string]interface{}{} expected = map[string]interface{}{ - "initialized": true, - "sealed": true, - "standby": true, + "replication_dr_secondary": false, + "initialized": true, + "sealed": true, + "standby": true, } testResponseStatus(t, resp, 503) testResponseBody(t, resp, &actual) @@ -87,9 +89,10 @@ func TestSysHealth_get(t *testing.T) { actual = map[string]interface{}{} expected = map[string]interface{}{ - "initialized": true, - "sealed": false, - "standby": false, + "replication_dr_secondary": false, + "initialized": true, + "sealed": false, + "standby": false, } testResponseStatus(t, resp, 200) testResponseBody(t, resp, &actual) @@ -127,9 +130,10 @@ func TestSysHealth_customcodes(t *testing.T) { var actual map[string]interface{} expected := map[string]interface{}{ - "initialized": false, - "sealed": true, - "standby": true, + "replication_dr_secondary": false, + "initialized": false, + "sealed": true, + "standby": true, } testResponseStatus(t, resp, 581) testResponseBody(t, resp, &actual) @@ -158,9 +162,10 @@ func TestSysHealth_customcodes(t *testing.T) { actual = map[string]interface{}{} expected = map[string]interface{}{ - "initialized": true, - "sealed": true, - "standby": true, + "replication_dr_secondary": false, + "initialized": true, + "sealed": true, + "standby": true, } testResponseStatus(t, resp, 523) testResponseBody(t, resp, &actual) @@ -193,9 +198,10 @@ func TestSysHealth_customcodes(t *testing.T) { actual = map[string]interface{}{} expected = map[string]interface{}{ - "initialized": true, - "sealed": false, - "standby": false, + "replication_dr_secondary": false, + "initialized": true, + "sealed": false, + "standby": false, } testResponseStatus(t, resp, 202) testResponseBody(t, resp, &actual)