moby--moby/daemon/graphdriver
Kir Kolyshkin 8663d09334 devmapper: fix unit test
It has been pointed out that sometimes device mapper unit tests
fail with the following diagnostics:

> --- FAIL: TestDevmapperSetup (0.02s)
>    graphtest_unix.go:44: graphdriver: loopback attach failed
>    graphtest_unix.go:48: loopback attach failed

The root cause is the absence of udev inside the container used
for testing, which causes device nodes (/dev/loop*) to not be
created.

The test suite itself already has a workaround, but it only
creates 8 devices (loop0 till loop7). It might very well be
the case that the first few devices are already used by the
system (on my laptop 15 devices are busy).

The fix is to raise the number of devices being manually created.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2019-10-07 13:21:14 -07:00
..
aufs Merge pull request #39270 from kolyshkin/moar-aufs-fixes 2019-06-11 20:43:50 +02:00
btrfs goimports: fix imports 2019-09-18 12:56:54 +02:00
copy daemon/graphdriver/copy: rm dead code 2019-09-18 12:57:23 +02:00
devmapper devmapper: fix unit test 2019-10-07 13:21:14 -07:00
graphtest goimports: fix imports 2019-09-18 12:56:54 +02:00
lcow Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
overlay Use fewer modprobes 2019-09-21 11:21:18 +02:00
overlay2 Merge pull request #38930 from daym/fewer-modprobes 2019-09-24 02:37:58 +09:00
overlayutils
quota projectquota: protect concurrent map access 2019-08-01 09:58:34 -07:00
register
vfs structcheck: nolint for false positives 2019-09-18 12:57:44 +02:00
windows Remove refs to jhowardmsft from .go code 2019-09-25 10:51:18 -07:00
zfs zfs: fix incorrect permissions (staticcheck) 2019-08-06 00:46:47 +02:00
counter.go
driver.go
driver_freebsd.go
driver_linux.go graphdriver.Mounted(): ignore ENOENT 2019-05-24 12:56:00 -07:00
driver_test.go
driver_unsupported.go
driver_windows.go
errors.go
fsdiff.go
plugin.go goimports: fix imports 2019-09-18 12:56:54 +02:00
proxy.go