Fix sys/health tests (#3762)

* Fix sys/health tests

* Fix sys/health tests

* Fix sys/health tests
This commit is contained in:
Calvin Leung Huang
2018-01-08 15:03:36 -05:00
committed by GitHub
parent 78adac0a24
commit 202a7aec2c

View File

@@ -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,