open-vault/physical/inmem_ha_test.go
Sean Chittenden aeea7628d6 Add a *log.Logger argument to physical.Factory
Logging in the backend is a good thing.  This is a noisy interface change but should be a functional noop.
2016-04-25 20:10:32 -07:00

14 lines
193 B
Go

package physical
import (
"log"
"os"
"testing"
)
func TestInmemHA(t *testing.T) {
logger := log.New(os.Stderr, "", log.LstdFlags)
inm := NewInmemHA(logger)
testHABackend(t, inm, inm)
}