Docker Api version < 1.23 doesn't send any progress message when loading
images
@@ -560,6 +560,7 @@ public class DefaultDockerClientTest {
assertTrue(loadedImages.contains(image2));
}
+ if (dockerApiVersionAtLeast("1.23")) {
// Verify that we have multiple messages, and each one has a non-null field
assertThat(messages, not(empty()));
for (final ProgressMessage message : messages) {
@@ -570,6 +571,7 @@ public class DefaultDockerClientTest {
|| message.status() != null
|| message.stream() != null);
}
+ }
// Try to inspect created images and make sure ImageNotFoundException is not thrown
try {
