aboutsummaryrefslogtreecommitdiffstats
path: root/ethlog/loggers_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2014-10-15 01:07:19 +0800
committerFelix Lange <fjl@twurst.com>2014-10-17 23:20:44 +0800
commit793baf060a0e918b5d5ca72a425c99751b93ab41 (patch)
treeabd47b4047a4bf0479e56a45a4957e448084fa3d /ethlog/loggers_test.go
parentec132749aab8f4b26181bfc2c4b3190aa104fdb5 (diff)
downloaddexon-793baf060a0e918b5d5ca72a425c99751b93ab41.tar
dexon-793baf060a0e918b5d5ca72a425c99751b93ab41.tar.gz
dexon-793baf060a0e918b5d5ca72a425c99751b93ab41.tar.bz2
dexon-793baf060a0e918b5d5ca72a425c99751b93ab41.tar.lz
dexon-793baf060a0e918b5d5ca72a425c99751b93ab41.tar.xz
dexon-793baf060a0e918b5d5ca72a425c99751b93ab41.tar.zst
dexon-793baf060a0e918b5d5ca72a425c99751b93ab41.zip
ethlog: don't buffer output in TestConcurrentAddSystem
Diffstat (limited to 'ethlog/loggers_test.go')
-rw-r--r--ethlog/loggers_test.go2
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)
}