mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-28 13:41:21 +00:00
Add a bit more padding to tests so they pass on osx with -race
This commit is contained in:
parent
bfcc0217f1
commit
3d9113c16e
@ -43,7 +43,7 @@ func TestRepeat(test *testing.T) {
|
||||
short := time.Duration(20) * time.Millisecond
|
||||
// delay waits for cnt durations, an a little extra
|
||||
delay := func(cnt int) time.Duration {
|
||||
return time.Duration(cnt)*dur + time.Millisecond
|
||||
return time.Duration(cnt)*dur + time.Duration(5)*time.Millisecond
|
||||
}
|
||||
t := NewRepeatTimer("bar", dur)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user