diff options
author | Elad <theman@elad.im> | 2018-06-14 17:21:17 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-06-14 17:21:17 +0800 |
commit | 1836366ac19e30f157570e61342fae53bc6c8a57 (patch) | |
tree | a95b5027602d17315cd6462f7c08ac4123c9099d /metrics/timer_test.go | |
parent | 591cef17d4f1700de50057fd6988b9731a2195c9 (diff) | |
download | go-tangerine-1836366ac19e30f157570e61342fae53bc6c8a57.tar go-tangerine-1836366ac19e30f157570e61342fae53bc6c8a57.tar.gz go-tangerine-1836366ac19e30f157570e61342fae53bc6c8a57.tar.bz2 go-tangerine-1836366ac19e30f157570e61342fae53bc6c8a57.tar.lz go-tangerine-1836366ac19e30f157570e61342fae53bc6c8a57.tar.xz go-tangerine-1836366ac19e30f157570e61342fae53bc6c8a57.tar.zst go-tangerine-1836366ac19e30f157570e61342fae53bc6c8a57.zip |
all: library changes for swarm-network-rewrite (#16898)
This commit adds all changes needed for the merge of swarm-network-rewrite.
The changes:
- build: increase linter timeout
- contracts/ens: export ensNode
- log: add Output method and enable fractional seconds in format
- metrics: relax test timeout
- p2p: reduced some log levels, updates to simulation packages
- rpc: increased maxClientSubscriptionBuffer to 20000
Diffstat (limited to 'metrics/timer_test.go')
-rw-r--r-- | metrics/timer_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/metrics/timer_test.go b/metrics/timer_test.go index c1f0ff938..8638a2270 100644 --- a/metrics/timer_test.go +++ b/metrics/timer_test.go @@ -47,8 +47,8 @@ func TestTimerStop(t *testing.T) { func TestTimerFunc(t *testing.T) { tm := NewTimer() tm.Time(func() { time.Sleep(50e6) }) - if max := tm.Max(); 35e6 > max || max > 95e6 { - t.Errorf("tm.Max(): 35e6 > %v || %v > 95e6\n", max, max) + if max := tm.Max(); 35e6 > max || max > 145e6 { + t.Errorf("tm.Max(): 35e6 > %v || %v > 145e6\n", max, max) } } |