Skip to content
Snippets Groups Projects
Commit 2f91058f authored by onlyjob's avatar onlyjob :sleeping:
Browse files

New upstream release [1.0.6] + changelog summary.

parent ddcd6adb
No related branches found
Tags debian/1.0.6-1
No related merge requests found
Pipeline #18650 passed
golang-logrus (1.0.6-1) unstable; urgency=medium
* Team upload.
* New upstream release.
* Debhelper & compat to version 11.
-- Dmitry Smirnov <onlyjob@debian.org> Mon, 10 Sep 2018 07:42:42 +1000
golang-logrus (1.0.5-2) unstable; urgency=medium
* Team upload.
......
From 8369e2f077642788e2ef31f342a0a4621b2b4607 Mon Sep 17 00:00:00 2001
From: David Bariod <davidriod@googlemail.com>
Date: Sat, 12 May 2018 15:51:19 +0200
Subject: [PATCH] Fix a race condition in TestLoggingWithHooksRace
---
hooks/test/test_test.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Origin: upstream, https://github.com/sirupsen/logrus/commit/8369e2f077642788e2ef31f342a0a4621b2b4607.patch
Bug: https://github.com/sirupsen/logrus/issues/751
Reviewed-by: Simon Eskildsen <simon@sirupsen.com>
Reviewed-by: Anthony Fok <foka@debian.org>
Last-Update: 2018-05-18
diff --git a/hooks/test/test_test.go b/hooks/test/test_test.go
index dea768e6..742be553 100644
--- a/hooks/test/test_test.go
+++ b/hooks/test/test_test.go
@@ -51,11 +51,11 @@ func TestLoggingWithHooksRace(t *testing.T) {
}()
}
+ wg.Wait()
+
assert.Equal(logrus.InfoLevel, hook.LastEntry().Level)
assert.Equal("info", hook.LastEntry().Message)
- wg.Wait()
-
entries := hook.AllEntries()
assert.Equal(100, len(entries))
}
fix-a-race-condition-in-TestLoggingWithHooksRace-752.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment