mirror of https://github.com/grpc/grpc-java.git
api,netty: Fix TruthIncompatibleType
This commit is contained in:
parent
9dd56a7f0f
commit
ee5b5929d5
|
@ -329,7 +329,7 @@ public class ClientInterceptorsTest {
|
|||
assertSame(listener, call.listener);
|
||||
assertSame(headers, call.headers);
|
||||
interceptedCall.sendMessage(null /*request*/);
|
||||
assertThat(call.messages).containsExactly((Void) null /*request*/);
|
||||
assertThat(call.messages).containsExactly((String) null);
|
||||
interceptedCall.halfClose();
|
||||
assertTrue(call.halfClosed);
|
||||
interceptedCall.request(1);
|
||||
|
|
|
@ -345,7 +345,7 @@ public class WriteBufferingAndExceptionHandlerTest {
|
|||
assertThat(chan.pipeline().context(handler)).isNull();
|
||||
assertThat(write.get().getClass()).isSameInstanceAs(Object.class);
|
||||
assertTrue(flush.get());
|
||||
assertThat(chan.pipeline()).doesNotContain(handler);
|
||||
assertThat(chan.pipeline().toMap().values()).doesNotContain(handler);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue