2015-08-11 21:27:14 +00:00
|
|
|
package state
|
2015-07-04 00:48:02 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2019-01-15 19:46:12 +00:00
|
|
|
memdb "github.com/hashicorp/go-memdb"
|
2015-07-04 00:48:02 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestStateStoreSchema(t *testing.T) {
|
|
|
|
schema := stateStoreSchema()
|
|
|
|
_, err := memdb.NewMemDB(schema)
|
|
|
|
if err != nil {
|
|
|
|
t.Fatalf("err: %v", err)
|
|
|
|
}
|
|
|
|
}
|