Skip to content

Commit 28bba66

Browse files
committed
flake: catching illegal-state-exception in the copy test
1 parent 062ac43 commit 28bba66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/src/test/java/io/kubernetes/client/CopyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void testUrl() throws IOException, ApiException, InterruptedException {
7474
// block until the connection is established
7575
inputStream.read();
7676
inputStream.close();
77-
} catch (IOException | ApiException e) {
77+
} catch (IOException | ApiException | IllegalStateException e) {
7878
e.printStackTrace();
7979
}
8080

0 commit comments

Comments
 (0)