This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 4d29b9a27ac [fix](regression test) fix test_tvf (#41792)
4d29b9a27ac is described below

commit 4d29b9a27ac858469bf87a844ffc53c38f900d31
Author: yujun <[email protected]>
AuthorDate: Mon Oct 14 21:42:04 2024 +0800

    [fix](regression test) fix test_tvf (#41792)
    
    ```
    
            // 调用http api 将add_new_cluster 下掉
            def ms = cluster.getAllMetaservices().get(0)
            logger.info("ms addr={}, port={}", ms.host, ms.httpPort)
            drop_cluster(clusterName, cloudClusterId, ms)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^^
            Thread.sleep(5000)
            result = sql """show clusters"""
            logger.info("show cluster2 : {}", result)
    
            // single cluster env
            // use old clusterName, has been droped
            test {
                sql """select * from numbers("number" = "100")"""
                exception "in cloud maybe this cluster has been dropped"
            }
    
    Exception:
    java.lang.IllegalStateException: HttpCliAction failed, 
uri:http://128.2.101.1:5000/MetaService/http/drop_cluster?token=null
      at 
org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
      at 
org.apache.doris.regression.action.HttpCliAction.run(HttpCliAction.groovy:160)
      at 
org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
      at org.apache.doris.regression.suite.Suite.runAction(Suite.groovy:1080)
      at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
      at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328)
      at groovy.lang.MetaClassImpl.doInvokeMethod(MetaClassImpl.java:1333)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1088)
    ```
---
 regression-test/conf/regression-conf.groovy                   | 4 ++++
 regression-test/suites/cloud_p0/multi_cluster/test_tvf.groovy | 5 +----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/regression-test/conf/regression-conf.groovy 
b/regression-test/conf/regression-conf.groovy
index 676133f7be4..a5304e995bf 100644
--- a/regression-test/conf/regression-conf.groovy
+++ b/regression-test/conf/regression-conf.groovy
@@ -252,3 +252,7 @@ lakesoulMinioAK="*******"
 lakesoulMinioSK="*******"
 lakesoulMinioEndpoint="*******"
 
+// cloud
+metaServiceToken = "greedisgood9999"
+instanceId = "default_instance_id"
+multiClusterInstance = "default_instance_id"
diff --git a/regression-test/suites/cloud_p0/multi_cluster/test_tvf.groovy 
b/regression-test/suites/cloud_p0/multi_cluster/test_tvf.groovy
index 68b89b6f3d6..09b19fa364b 100644
--- a/regression-test/suites/cloud_p0/multi_cluster/test_tvf.groovy
+++ b/regression-test/suites/cloud_p0/multi_cluster/test_tvf.groovy
@@ -18,10 +18,7 @@
 import org.apache.doris.regression.suite.ClusterOptions
 import groovy.json.JsonSlurper
 
-suite('test_tvf_in_cloud', 'multi_cluster,docker') {
-    if (!isCloudMode()) {
-        return;
-    }
+suite('test_tvf', 'multi_cluster,docker') {
     def options = new ClusterOptions()
     options.feConfigs += [
         'cloud_cluster_check_interval_second=1',


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to