mirror of
https://github.com/containerd/containerd.git
synced 2026-08-09 17:39:22 +00:00
This test verifies the maximum file-size constraints that were added in [containerd7b05ec4]. However, github.com/moby/sys@v0.4.1 adds similar constraints, including a constraint on line-length (1M): [moby/sys@2c56c3d] that may hit before the file-size limit is reached if the data does not contain newlines. This patch updates the test to use data that includes newlines to make sure it's testing the file-size constraints, not line-limit constraints. [containerd7b05ec4]:7b05ec421d[moby/sys@2c56c3d]:2c56c3d5d0Signed-off-by: Sebastiaan van Stijn <github@gone.nl>