servicetalk
servicetalk copied to clipboard
A networking framework that evolves with your application
Motivation: Users frequently need a way to communicate information between gRPC and HTTP layers, like headers, tracing info, etc. We also anticipate more features in the future relying on request/response...
Motivation: We have a few internal operators for `liftSync` or `liftSyncToSingle` in other modules that currently not tested with RS TCK. Modifications: - Move `Abstract*TckTest` classes to `testFixtures`, make their...
``` GrpcLifecycleObserverTest.testBiDiStream(boolean) [2] error=true org.mockito.exceptions.verification.NoInteractionsWanted: No interactions wanted here: -> at io.servicetalk.grpc.netty.GrpcLifecycleObserverTest.verifyObservers(GrpcLifecycleObserverTest.java:271) But found this interaction on mock 'clientRequestObserver': -> at io.servicetalk.grpc.utils.BiGrpcLifecycleObserver$BiGrpcRequestObserver.onRequestDataRequested(BiGrpcLifecycleObserver.java:134) *** For your reference, here is the list...
https://github.com/apple/servicetalk/runs/7573293427 ``` io.servicetalk.transport.netty.internal.StacklessClosedChannelException at io.servicetalk.transport.netty.internal.DefaultNettyConnection.channelInactive(...)(Unknown Source) ``` possibly related: https://github.com/apple/servicetalk/issues/952
https://github.com/apple/servicetalk/pull/2068/checks?check_run_id=5015006266 ``` MalformedDataAfterHttpMessageTest.[2] false io.servicetalk.transport.netty.internal.StacklessClosedChannelException at io.servicetalk.transport.netty.internal.NettyChannelPublisher.channelOnError(Unknown Source) Caused by: io.servicetalk.http.netty.HttpObjectDecoder$StacklessDecoderException: Invalid preface character before the start-line of the HTTP message Caused by: io.servicetalk.utils.internal.IllegalCharacterException: '?' (0x00), expected [CR (0x0d), LF...
https://github.com/apple/servicetalk/pull/1892/checks?check_run_id=3921774002 ``` FullDuplexAndSequentialModeTest.deferResponseUntilAfterRequestSent() java.util.concurrent.TimeoutException: deferResponseUntilAfterRequestSent() timed out after 30 seconds java.util.concurrent.TimeoutException: deferResponseUntilAfterRequestSent() timed out after 30 seconds at org.junit.jupiter.engine.extension.TimeoutInvocation.createTimeoutException(TimeoutInvocation.java:70) at org.junit.jupiter.engine.extension.TimeoutInvocation.proceed(TimeoutInvocation.java:59) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) at...
** WILL NOT BE MERGED **
The current unit tests for test resources found in [DefaultTestCertsTest](https://github.com/apple/servicetalk/blob/main/servicetalk-test-resources/src/test/java/io/servicetalk/test/resources/DefaultTestCertsTest.java) do not adequately demonstrate how the resources should be used. Creating certificates, keystrokes, and key from these resources would be...
https://github.com/apple/servicetalk/runs/4611517724 ``` java.lang.AssertionError: java.lang.InterruptedException: sleep interrupted at io.servicetalk.http.router.jersey.CancellationTest.testCancelResponseSingle(CancellationTest.java:270) at io.servicetalk.http.router.jersey.CancellationTest.testCancelResponseSingle(CancellationTest.java:212) at io.servicetalk.http.router.jersey.CancellationTest.cancelOffload(CancellationTest.java:149) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutInvocation.proceed(TimeoutInvocation.java:46) at...
The gRPC [Errors example](https://apple.github.io/servicetalk//servicetalk-examples/SNAPSHOT/grpc/index.html#errors) could be improved by adding to the server source: - `try { } catch (Exception all) { return failed(mapToGrpcStatusException(all)); }` around endpoint. - Add `GrpcExceptionMapperServiceFilter` to...