aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--log/testing.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/log/testing.go b/log/testing.go
index 0cb32af6f..2136dea54 100644
--- a/log/testing.go
+++ b/log/testing.go
@@ -31,6 +31,9 @@ func Testing(t *testing.T) Logger {
case Warning, Info:
t.Log(o.String())
}
+
+ case FlushRequest:
+ close(o)
}
}
}()