Merge PR #1937: crypto/keys: Reduce bcrypt parameter in tests
Currently the crypto/keys tests take 2 minutes in circle CI. A significant portion of this time is due to the bcrypt security parameter. Changing it for these tests should reduce the time significantly.
This commit is contained in:
parent
10199c9159
commit
45a010bb2f
@ -13,6 +13,10 @@ import (
|
||||
dbm "github.com/tendermint/tendermint/libs/db"
|
||||
)
|
||||
|
||||
func init() {
|
||||
BcryptSecurityParameter = 1
|
||||
}
|
||||
|
||||
// TestKeyManagement makes sure we can manipulate these keys well
|
||||
func TestKeyManagement(t *testing.T) {
|
||||
// make the storage with reasonable defaults
|
||||
|
||||
Loading…
Reference in New Issue
Block a user