Skip to content

Commit

Permalink
add inmem test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ccapurso committed Apr 12, 2023
1 parent cc23ded commit 8a9cfb2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions http/sys_config_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,23 @@ func TestSysConfigState_Sanitized(t *testing.T) {
},
nil,
},
{
"inmem storage, no HA storage",
&server.Storage{
Type: "inmem",
RedirectAddr: "http://127.0.0.1:8200",
ClusterAddr: "http://127.0.0.1:8201",
DisableClustering: false,
},
nil,
map[string]interface{}{
"type": "inmem",
"redirect_addr": "http://127.0.0.1:8200",
"cluster_addr": "http://127.0.0.1:8201",
"disable_clustering": false,
},
nil,
},
{
"inmem storage, raft HA storage",
&server.Storage{
Expand Down

0 comments on commit 8a9cfb2

Please sign in to comment.