Skip to content
Merged
Changes from all commits
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
2 changes: 2 additions & 0 deletions util/src/test/java/io/kubernetes/client/AttachTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public void testUrl() throws IOException, ApiException, InterruptedException {
get(urlPathEqualTo("/api/v1/namespaces/" + namespace + "/pods/" + podName + "/attach"))
.willReturn(
aResponse()
.withFixedDelay(
5000) // A longer delay so the attach stream won't be closed too soon
.withStatus(404)
.withHeader("Content-Type", "application/json")
.withBody("{}")));
Expand Down