Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added debugging to PushImageCmdImplTest as it is failing
  • Loading branch information
alexec committed Nov 2, 2014
commit e5af72c5e6045996fea22c7974de80cc62a61388
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ public void pushLatest() throws Exception {

assertThat(container.getId(), not(isEmptyString()));

LOG.info("Commiting container: {}", container.toString());
LOG.info("Committing container: {}", container.toString());
String imageId = dockerClient.commitCmd(container.getId()).withRepository(username + "/busybox").exec();

// we have to block until image is pushed
asString(dockerClient.pushImageCmd(username + "/busybox").exec());

LOG.info("Removing image: {}", imageId);
dockerClient.removeImageCmd(imageId).exec();

String response = asString(dockerClient.pullImageCmd(username + "/busybox").exec());
Expand Down