This is an automated email from the ASF dual-hosted git repository. hellostephen pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new 51f6e2d699b branch-3.0: [fix](test) Fix test frontend run in cloud #46760 (#46762) 51f6e2d699b is described below commit 51f6e2d699bde69b2d3e145588b243319936c5d3 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Fri Jan 10 15:19:47 2025 +0800 branch-3.0: [fix](test) Fix test frontend run in cloud #46760 (#46762) Cherry-picked from #46760 Co-authored-by: deardeng <deng...@selectdb.com> --- regression-test/suites/node_p0/test_frontend.groovy | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/regression-test/suites/node_p0/test_frontend.groovy b/regression-test/suites/node_p0/test_frontend.groovy index 99d6068f7ba..29ee3e06315 100644 --- a/regression-test/suites/node_p0/test_frontend.groovy +++ b/regression-test/suites/node_p0/test_frontend.groovy @@ -16,6 +16,17 @@ // under the License. suite("test_frontend", "nonConcurrent") { + def res = sql """SHOW FRONTENDS DISKS""" + assertTrue(res.size() != 0) + + def res2 = sql """SHOW FRONTENDS Disks""" + assertTrue(res2.size() != 0) + + if (Config.isCloudMode()) { + // In the test_sql_mode_node_mgr regression case, there is already a similar and more complex case. This case is redundant. Additionally, there is a 5-minute limit for dropping FE on the cloud. + // so ignore it in cloud + return; + } def address = "127.0.0.1" def notExistPort = 12345 @@ -43,10 +54,4 @@ suite("test_frontend", "nonConcurrent") { result = sql """SHOW FRONTENDS;""" logger.debug("result:${result}") } - - def res = sql """SHOW FRONTENDS DISKS""" - assertTrue(res.size() != 0) - - def res2 = sql """SHOW FRONTENDS Disks""" - assertTrue(res2.size() != 0) } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org