containerd / stargz-snapshotter

Fast container image distribution plugin with lazy pulling
https://github.com/containerd/containerd/issues/3731
Apache License 2.0
1.13k stars 114 forks source link

Remove `testing` dependency from public dependencies #1760

Open howardjohn opened 1 month ago

howardjohn commented 1 month ago

The estargz/testutil.go and similar files leak the stdlib testing dependency into any production code that depends on these utilities. It would be ideal if the testing stuff was kept isolated from the core code to minimize transitive dependencies. This isn't a huge deal but still nice to have IMO.

I took a briefly look and the way things are structured makes it not trivial to do so