We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a56d4f7 commit cf3e3f0Copy full SHA for cf3e3f0
tests/server-common/src/test/java/io/a2a/server/apps/common/AbstractA2AServerTest.java
@@ -791,6 +791,11 @@ protected boolean isStreamClosedError(Throwable throwable) {
791
if (cause instanceof EOFException) {
792
return true;
793
}
794
+ if (cause instanceof IOException && cause.getMessage() != null
795
+ && cause.getMessage().contains("cancelled")) {
796
+ // stream is closed upon cancellation
797
+ return true;
798
+ }
799
cause = cause.getCause();
800
801
return false;
0 commit comments