Skip to content

Commit 43f0cc9

Browse files
authored
Merge pull request #1920 from yue9944882/flake/catch-copy-test-illegal-state-exception
Flake: Catching illegal-state-exception in the copy test
2 parents a7266c7 + 28bba66 commit 43f0cc9

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)