diff options
author | Felix Lange <fjl@twurst.com> | 2014-10-15 01:07:19 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2014-10-17 23:20:44 +0800 |
commit | 793baf060a0e918b5d5ca72a425c99751b93ab41 (patch) | |
tree | abd47b4047a4bf0479e56a45a4957e448084fa3d /ethlog | |
parent | ec132749aab8f4b26181bfc2c4b3190aa104fdb5 (diff) | |
download | go-tangerine-793baf060a0e918b5d5ca72a425c99751b93ab41.tar go-tangerine-793baf060a0e918b5d5ca72a425c99751b93ab41.tar.gz go-tangerine-793baf060a0e918b5d5ca72a425c99751b93ab41.tar.bz2 go-tangerine-793baf060a0e918b5d5ca72a425c99751b93ab41.tar.lz go-tangerine-793baf060a0e918b5d5ca72a425c99751b93ab41.tar.xz go-tangerine-793baf060a0e918b5d5ca72a425c99751b93ab41.tar.zst go-tangerine-793baf060a0e918b5d5ca72a425c99751b93ab41.zip |
ethlog: don't buffer output in TestConcurrentAddSystem
Diffstat (limited to 'ethlog')
-rw-r--r-- | ethlog/loggers_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethlog/loggers_test.go b/ethlog/loggers_test.go index c1a7de997..ffc30e21f 100644 --- a/ethlog/loggers_test.go +++ b/ethlog/loggers_test.go @@ -162,7 +162,7 @@ func TestConcurrentAddSystem(t *testing.T) { stopTime := time.Now().Add(100 * time.Millisecond) for time.Now().Before(stopTime) { time.Sleep(time.Duration(rand.Intn(20)) * time.Millisecond) - AddLogSystem(&TestLogSystem{level: InfoLevel}) + AddLogSystem(NewStdLogSystem(ioutil.Discard, 0, InfoLevel)) } close(stop) } |