test: crank it to eleventy

This commit is contained in:
Ethan Buchman 2016-12-07 20:13:52 -05:00
parent 73502fab0d
commit d800a51da4

View File

@ -373,11 +373,11 @@ func getSwitchIndex(switches []*p2p.Switch, peer *p2p.Peer) int {
// so we dont violate synchrony assumptions // so we dont violate synchrony assumptions
// TODO: make tests more robust to this instead (handle round changes) // TODO: make tests more robust to this instead (handle round changes)
// XXX: especially a problem when running the race detector // XXX: especially a problem when running the race detector on circle
func resetConfigTimeouts(config cfg.Config) { func resetConfigTimeouts(config cfg.Config) {
logger.SetLogLevel("info") logger.SetLogLevel("info")
//config.Set("log_level", "notice") //config.Set("log_level", "notice")
config.Set("timeout_propose", 10000) // TODO config.Set("timeout_propose", 110000) // TODO: crank it to eleventy
// config.Set("timeout_propose_delta", 500) // config.Set("timeout_propose_delta", 500)
// config.Set("timeout_prevote", 1000) // config.Set("timeout_prevote", 1000)
// config.Set("timeout_prevote_delta", 500) // config.Set("timeout_prevote_delta", 500)