From 080d9a1e319dbb793fcd40c36947aff434b4d57b Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Tue, 5 Sep 2017 17:34:04 +0200 Subject: [PATCH] Remove random test failures --- app/app_val_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/app_val_test.go b/app/app_val_test.go index ea0be27d0..644744ea7 100644 --- a/app/app_val_test.go +++ b/app/app_val_test.go @@ -5,11 +5,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + abci "github.com/tendermint/abci/types" - "github.com/cosmos/cosmos-sdk/modules/base" wire "github.com/tendermint/go-wire" cmn "github.com/tendermint/tmlibs/common" "github.com/tendermint/tmlibs/log" + + "github.com/cosmos/cosmos-sdk/modules/base" ) //----------------------------------- @@ -30,9 +32,6 @@ func makeVal() *abci.Validator { func withNewPower(val *abci.Validator) *abci.Validator { res := *val res.Power = randPower() - if res.Power == val.Power { - panic("no no") - } return &res }