Commit 793baf06 authored by Felix Lange's avatar Felix Lange

ethlog: don't buffer output in TestConcurrentAddSystem

parent ec132749
......@@ -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)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment