linrrzqqq commented on code in PR #55873:
URL: https://github.com/apache/doris/pull/55873#discussion_r2337323327
##########
regression-test/suites/ai_p0/test_ai_functions.groovy:
##########
@@ -97,10 +97,10 @@ suite("test_ai_functions") {
def test_query_timeout_exception = { sql_text ->
try {
sql """set query_timeout=1;"""
- test {
- sql """${sql_text}"""
- exception "timeout"
- }
+ sql """${sql_text}"""
+ assertTrue(false)
+ } catch (Exception e) {
+ assertTrue(e.getMessage().contains("timeout") ||
e.getMessage().contains("requested URL returned error"))
Review Comment:
端口在 1s 之内拒绝了请求并返回 401
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]