Fix tests; Tests run in their own directory

This commit is contained in:
Jae Kwon
2016-03-06 15:05:50 -08:00
parent fd85d0ef35
commit 03115cbf93
11 changed files with 53 additions and 33 deletions

View File

@ -6,11 +6,15 @@ import (
"testing"
"time"
_ "github.com/tendermint/tendermint/config/tendermint_test"
"github.com/tendermint/tendermint/config/tendermint_test"
//"github.com/tendermint/go-events"
"github.com/tendermint/tendermint/types"
)
func init() {
tendermint_test.ResetConfig("consensus_state_test")
}
func (tp *TimeoutParams) ensureProposeTimeout() time.Duration {
return time.Duration(tp.Propose0*2) * time.Millisecond
}