1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

daemon: suppress logs in unit tests

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-10-17 02:47:37 +02:00
parent 58a6faab4c
commit 1741d669b3
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
4 changed files with 19 additions and 0 deletions

View file

@ -68,6 +68,7 @@ func TestAdjustCPUShares(t *testing.T) {
repository: tmp,
root: tmp,
}
muteLogs()
hostConfig := &containertypes.HostConfig{
Resources: containertypes.Resources{CPUShares: linuxMinCPUShares - 1},