We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3854e2e commit 24d3a15Copy full SHA for 24d3a15
src/test/java/com/github/dockerjava/netty/exec/AttachContainerCmdExecTest.java
@@ -105,7 +105,9 @@ public void onNext(Frame frame) {
105
InputStream stdin = new ByteArrayInputStream((snippet + "\n").getBytes());
106
107
dockerClient.attachContainerCmd(container.getId()).withStdErr(true).withStdOut(true).withFollowStream(true)
108
- .withStdIn(stdin).exec(callback).awaitCompletion(2, TimeUnit.SECONDS);
+ .withStdIn(stdin)
109
+ .exec(callback)
110
+ .awaitCompletion(5, TimeUnit.SECONDS);
111
callback.close();
112
113
assertThat(callback.toString(), containsString(snippet));
0 commit comments