summaryrefslogtreecommitdiff
path: root/daemon/daemon_unix_test.go
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2019-10-17 02:47:37 +0200
committerSebastiaan van Stijn <github@gone.nl>2019-10-18 00:57:56 +0200
commit1741d669b30710fec1a9d7b7ce3beefaa6026f58 (patch)
tree35a6eab130b35d9138633faf72ef9f011ed1f59d /daemon/daemon_unix_test.go
parent58a6faab4c984dd2a1b0efec843f48c48e0fe5a9 (diff)
downloaddocker-1741d669b30710fec1a9d7b7ce3beefaa6026f58.tar.gz
daemon: suppress logs in unit tests
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'daemon/daemon_unix_test.go')
-rw-r--r--daemon/daemon_unix_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/daemon_unix_test.go b/daemon/daemon_unix_test.go
index c884681b9a..7f4b5755d7 100644
--- a/daemon/daemon_unix_test.go
+++ b/daemon/daemon_unix_test.go
@@ -68,6 +68,7 @@ func TestAdjustCPUShares(t *testing.T) {
repository: tmp,
root: tmp,
}
+ muteLogs()
hostConfig := &containertypes.HostConfig{
Resources: containertypes.Resources{CPUShares: linuxMinCPUShares - 1},