Files
moby/integration
Sebastiaan van Stijn 53475e1adf integration/container: TestCreateByImageID: minor improvements
- Assert that we're not using empty IDs
- stringid.TruncateID already truncates algorithm, so we can just feed
  it the full id
- Fail early on error, and skip asserting the `resp.ID` to reduce some
  noise;

    === FAIL: github.com/docker/docker/integration/container TestCreateByImageID/image_short-ID (60.33s)
        create_test.go:134: assertion failed: resp.ID is ""
        create_test.go:135: assertion failed: error is not nil: error during connect: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.48/containers/create": EOF

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-06-23 12:19:44 +02:00
..
2025-06-13 08:26:56 +00:00
2025-06-07 09:57:58 +02:00
2025-06-16 14:54:31 +01:00
2025-06-16 14:54:31 +01:00
2025-06-13 08:26:56 +00:00
2025-06-07 09:57:58 +02:00
2025-06-16 14:54:31 +01:00
2025-06-13 08:26:56 +00:00
2021-05-18 09:43:21 +02:00
2025-05-30 15:59:14 +02:00