|
Ran
|
Jobs
1
|
Files
658
|
Run time
2min
|
Badge
README BADGES
|
push
github
Revert "servlet: fix write when not ready in AsyncServletOutputStreamWriter (#12867) This reverts commit 243b79ee5. The approach taken of ensuring subsequent writes go through the container thread via onWritePossible() hasn't eliminated the need for catching the IllegalStateException (which you are catching and buffering the write if it happens). We have observed that the UndertowInteropTest now hangs instead of the earlier flaky failures due to uncaught exception. There has been another PR https://github.com/grpc/grpc-java/pull/12732 for the same issue that explicitly checks isReady.getAsBoolean() in addition to the cached state, that's probably most reliable, because you don't have to deal with callback scheduling and the state changing in the meantime. We would like to proceed with that PR and revert this one. @mgustimz
36532 of 41102 relevant lines covered (88.88%)
0.89 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 28 |
9.68 |
0.0% | ../api/src/main/java/io/grpc/ManagedChannelBuilder.java |
| 16 |
78.35 |
-11.27% | ../servlet/src/main/java/io/grpc/servlet/AsyncServletOutputStreamWriter.java |
| 12 |
0.0 |
0.0% | ../servlet/jakarta/build/generated/sources/jakarta-main/io/grpc/servlet/jakarta/AsyncServletOutputStreamWriter.java |
| 5 |
83.02 |
-9.43% | ../core/src/main/java/io/grpc/internal/Http2Ping.java |
| 3 |
80.0 |
0.0% | ../api/src/main/java/io/grpc/Grpc.java |
| 3 |
95.07 |
-0.44% | ../core/src/main/java/io/grpc/internal/RetriableStream.java |
| 1 |
93.83 |
-0.62% | ../opentelemetry/src/main/java/io/grpc/opentelemetry/OpenTelemetryMetricSink.java |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | #20325.1 | 658 |
88.88 |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|