2015-04-14 19:04:15 +00:00
|
|
|
package physical
|
|
|
|
|
2016-04-26 03:10:32 +00:00
|
|
|
import (
|
|
|
|
"testing"
|
2016-08-19 20:45:17 +00:00
|
|
|
|
|
|
|
"github.com/hashicorp/vault/helper/logformat"
|
|
|
|
log "github.com/mgutz/logxi/v1"
|
2016-04-26 03:10:32 +00:00
|
|
|
)
|
2015-04-14 19:04:15 +00:00
|
|
|
|
|
|
|
func TestInmemHA(t *testing.T) {
|
2016-08-19 20:45:17 +00:00
|
|
|
logger := logformat.NewVaultLogger(log.LevelTrace)
|
|
|
|
|
2016-04-26 03:10:32 +00:00
|
|
|
inm := NewInmemHA(logger)
|
2015-04-14 19:04:15 +00:00
|
|
|
testHABackend(t, inm, inm)
|
|
|
|
}
|