Commit Graph

8 Commits

Author SHA1 Message Date
f2aa1bf50e bandaid for non-deterministic clist test (#3575)
* add a deterministic timeout

Co-Authored-By: kevlubkcm <36485490+kevlubkcm@users.noreply.github.com>
2019-04-17 18:14:01 +02:00
1386707ceb rename TestGCRandom to _TestGCRandom 2019-02-06 18:36:54 +04:00
6941d1bb35 use nolint label instead of commenting 2019-02-06 18:21:32 +04:00
23314daee4 comment out clist tests w/ depend on runtime.SetFinalizer 2019-02-06 15:38:02 +04:00
1de32fba17 Check for int overflow in clist (#2289)
* explicitly panic if max capacity is reached

* address review comments

* comments and a test
2018-09-02 02:13:09 -04:00
087b657008 speed up some tests. ref #2038 2018-08-05 16:59:23 -04:00
dae7dc30e0 Switch usage of math/rand to cmn's rand (#1980)
This commit switches all usage of math/rand to cmn's rand. The only
exceptions are within the random file itself, the tools package, and the
crypto package. In tools you don't want it to lock between the go-routines.
The crypto package doesn't use it so the crypto package have no other
dependencies within tendermint/tendermint for easier portability.

Crypto/rand usage is unadjusted.

Closes #1343
2018-07-16 11:20:37 +04:00
ae3bf81833 mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00