Fix grpc latest dep tests (#10014)
This commit is contained in:
parent
600b14db8c
commit
338b03efb1
|
@ -747,7 +747,10 @@ public abstract class AbstractGrpcTest {
|
||||||
t -> {
|
t -> {
|
||||||
// gRPC doesn't appear to propagate server exceptions that are thrown, not onError.
|
// gRPC doesn't appear to propagate server exceptions that are thrown, not onError.
|
||||||
assertThat(t.getStatus().getCode()).isEqualTo(Status.UNKNOWN.getCode());
|
assertThat(t.getStatus().getCode()).isEqualTo(Status.UNKNOWN.getCode());
|
||||||
assertThat(t.getStatus().getDescription()).isNull();
|
assertThat(t.getStatus().getDescription())
|
||||||
|
.satisfiesAnyOf(
|
||||||
|
a -> assertThat(a).isNull(),
|
||||||
|
a -> assertThat(a).isEqualTo("Application error processing RPC"));
|
||||||
});
|
});
|
||||||
|
|
||||||
testing()
|
testing()
|
||||||
|
|
Loading…
Reference in New Issue