minux

Results 93 issues of minux

``` org.opentest4j.AssertionFailedError: Expecting actual: ["ServerBuilder/push", "Service/push", "ServiceContext/push", "ClientBuilder/push", "ClientContext/push", "VirtualHost/push", "VirtualService/push"] to contain exactly (and in same order): ["ClientBuilder/push", "ClientContext/push", "ServerBuilder/push", "VirtualHost/push", "VirtualService/push", "ServiceContext/push"] but some elements were not expected:...

`CoroutineHttpService` was introduced in #5603. However, adding the service to a `ServerBuilder` using lambda requires an explicit type declaration, which can be cumbersome for users. If we provide the `coroutineService`...

new feature

Currently, `pendingResponses` are managed in `GracefulShutdownSupport`. It would be beneficial to manage all server-related metrics within `ServerMetrics`, which will be added in #5627. https://github.com/line/armeria/blob/867856733ee13fb7a55e5fc66026be165cda91ed/core/src/main/java/com/linecorp/armeria/server/Server.java#L581-L582 Side note: the difference between `activeRequests`...

improvement

``` org.mockito.exceptions.verification.VerificationInOrderFailure: Verification in order failure Wanted but not invoked: clientListener.onGoAwayRead( , 3, 0L, UnreleasableByteBuf(UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 13, cap: 64)) ); -> at com.linecorp.armeria.server.InitiateConnectionShutdownTest.initiateConnectionShutdownCloseBeforeDrainEndHttp2(InitiateConnectionShutdownTest.java:241) Wanted anywhere AFTER following interaction: clientListener.onDataRead(...

Increasingly, more dependencies that we use require at least JDK 11 to build. Consequently, we have had to stop upgrading those dependencies. This poses a potential problem, especially when vulnerabilities...

discussion

In the past, we decided not to use the self type parameter in [this PR](https://github.com/line/armeria/pull/2454) because it resulted in poorly formatted Javadoc. However, this decision has introduced several problems: -...

improvement

We've added `Flags.defaultHttp1ConnectionCloseDelayMillis();` in #5616. But we haven't added a method to `ServerBuilder` and `VirtualHostBuilder` for overriding the value.

new feature

``` org.opentest4j.AssertionFailedError: expected: 1 but was: 2 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at com.linecorp.armeria.testing.junit5.server.ServerExtensionTest.requestContextCaptor(ServerExtensionTest.java:44) at java.lang.reflect.Method.invoke(Method.java:498) at java.util.ArrayList.forEach(ArrayList.java:1259) at java.util.ArrayList.forEach(ArrayList.java:1259) ```

``` org.opentest4j.AssertionFailedError: expected: 1 but was: 2 at [email protected]/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) at app//com.linecorp.armeria.server.Http1ServerDelayedCloseConnectionTest.shouldWaitForDisconnectByClientSideFirst(Http1ServerDelayedCloseConnectionTest.java:112) at [email protected]/java.lang.reflect.Method.invoke(Method.java:580) at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596) at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596) ```

Motivation: To improve the management and authorization of xDS resources in Central Dogma, the directory structure has been modified. Additionally, a `DiffOption` is added to allow fetching the new content...

improvement