File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
gateway-ha/src/test/java/io/trino/gateway/ha/handler Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,6 @@ void testPropagateErrorsTrueResponseGroupAndErrorsSet()
303303 @ Test
304304 void testResolveRoutingWithKnownQueryIdAndFailingFallback ()
305305 {
306- // ref: https://github.com/trinodb/trino-gateway/issues/920
307306 // Simulate a request to /ui/query.html?queryId where the query ID is known
308307 // but the fallback routing (getRoutingTargetResponse) would fail because
309308 // there are no backends for the resolved routing group.
@@ -327,6 +326,7 @@ void testResolveRoutingWithKnownQueryIdAndFailingFallback()
327326 .thenThrow (new IllegalStateException ("Number of active backends found zero" ));
328327
329328 // With orElse(), this throws. With orElseGet(), this succeeds.
329+ // ref: https://github.com/trinodb/trino-gateway/issues/920
330330 RoutingTargetResponse response = handler .resolveRouting (uiRequest );
331331
332332 assertThat (response .routingDestination ().clusterHost ()).isEqualTo (backendUrl );
You can’t perform that action at this time.
0 commit comments