We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ddaab2 commit 31662d5Copy full SHA for 31662d5
src/test/java/com/github/dockerjava/client/command/PushImageCmdTest.java
@@ -66,9 +66,10 @@ public void testPushLatest() throws Exception {
66
logResponseStream(dockerClient.pushImageCmd(username + "/busybox").exec());
67
68
dockerClient.removeImageCmd(imageId).exec();
69
+
70
+ String response = asString(dockerClient.pullImageCmd(username + "/busybox").exec());
71
- // TODO This can fail intermittently if run with other tests.
- assertThat(asString(dockerClient.pullImageCmd(username + "/busybox").exec()), not(containsString("404")));
72
+ assertThat(response, not(containsString("HTTP code: 404")));
73
74
tmpImgs.add(username + "/busybox");
75
}
0 commit comments