moby/integration
Sebastiaan van Stijn 4b0d38de06
TestDiskUsage: don't panic if results don't match
This test is currently failing with containerd-integration, which should
be looked into, but let's start with preventing it from panicking, to make
the test-failures less noisy;

        --- FAIL: TestDiskUsage/after_container.Run (0.26s)
    panic: runtime error: index out of range [0] with length 0 [recovered]
        panic: runtime error: index out of range [0] with length 0

    goroutine 280 [running]:
    testing.tRunner.func1.2({0xb07a00, 0x40002006a8})
        /usr/local/go/src/testing/testing.go:1526 +0x1c8
    testing.tRunner.func1()
        /usr/local/go/src/testing/testing.go:1529 +0x364
    panic({0xb07a00, 0x40002006a8})
        /usr/local/go/src/runtime/panic.go:884 +0x1f4
    github.com/docker/docker/integration/system.TestDiskUsage.func3(0x0?, {0x0, {0x14ea4a8, 0x0, 0x0}, {0x14ea4a8, 0x0, 0x0}, {0x14ea4a8, 0x0, ...}, ...})
        /go/src/github.com/docker/docker/integration/system/disk_usage_test.go:82 +0x7e4
    github.com/docker/docker/integration/system.TestDiskUsage.func4(0x4000235c80?)
        /go/src/github.com/docker/docker/integration/system/disk_usage_test.go:118 +0x8c

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-23 19:15:21 +02:00
..
build integration: Don't env cleanup before parallel subtests 2023-07-13 13:41:00 +02:00
capabilities Integration test for capabilities 2023-07-24 17:10:50 -04:00
config integration: use string-literals for easier grep'ing 2023-07-05 12:27:01 +02:00
container api/types/container: add RestartPolicyMode type and enum 2023-08-22 16:40:57 +02:00
daemon api/types/container: add RestartPolicyMode type and enum 2023-08-22 16:40:57 +02:00
distribution bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
image integration/tag: Move to client unit test 2023-08-10 10:37:04 +02:00
internal api/types/container: add RestartPolicyMode type and enum 2023-08-22 16:40:57 +02:00
network integration: Don't env cleanup before parallel subtests 2023-07-13 13:41:00 +02:00
plugin test: Skip graph driver tests when using containerd snapshotters 2023-08-23 09:48:27 +02:00
secret integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
service integration/service: format code with gofumpt 2023-06-29 00:31:11 +02:00
session testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
system TestDiskUsage: don't panic if results don't match 2023-08-23 19:15:21 +02:00
testdata/https Update test certificates 2021-05-18 09:43:21 +02:00
volume integration: Don't env cleanup before parallel subtests 2023-07-13 13:41:00 +02:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00