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 Add additional message when backendfs is extfs without d_type support 2018-05-18 10:32:47 +08:00
quota projectquota: protect concurrent map access 2019-08-01 09:58:34 -07:00
register Add canonical import comment 2018-02-05 16:51:57 -05:00
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 graphdriver: Fix RefCounter memory leak 2018-02-09 10:26:06 +08:00
driver.go Deprecate AuFS storage driver, and add warning 2018-10-26 18:41:46 +02:00
driver_freebsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_linux.go graphdriver.Mounted(): ignore ENOENT 2019-05-24 12:56:00 -07:00
driver_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
driver_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
driver_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fsdiff.go Add layer id to NaiveDiffDriver untar timing log 2018-10-05 16:28:40 -07:00
plugin.go goimports: fix imports 2019-09-18 12:56:54 +02:00
proxy.go Move plugin client creation to the extension point 2018-05-25 15:18:53 -04:00