fix tests

This commit is contained in:
Ethan Buchman
2017-01-12 10:58:44 -05:00
parent 56341de5eb
commit 814ef37f75
8 changed files with 24 additions and 11 deletions

View File

@@ -9,11 +9,17 @@ import (
"testing"
"time"
"github.com/tendermint/tendermint/config/tendermint_test"
. "github.com/tendermint/go-common"
"github.com/tendermint/go-wire"
"github.com/tendermint/tendermint/types"
)
func init() {
config = tendermint_test.ResetConfig("consensus_replay_test")
}
// TODO: these tests ensure we can always recover from any state of the wal,
// assuming it comes with a correct related state for the priv_validator.json.
// It would be better to verify explicitly which states we can recover from without the wal