924060929 commented on code in PR #35486:
URL: https://github.com/apache/doris/pull/35486#discussion_r1616556081


##########
regression-test/suites/ddl_p0/test_create_table_without_distribution.groovy:
##########
@@ -37,7 +38,6 @@ suite("test_create_table_without_distribution") {
     insert into test_create_table_without_distribution values(1,2);
     """
     qt_test_select_old_planner "select * from 
test_create_table_without_distribution;"
-    qt_test_show_old_planner " show create table 
test_create_table_without_distribution;"
-
-
+    def res2 = sql "show create table test_create_table_without_distribution;"
+    assertEquals(res2[0][1].contains("DISTRIBUTED BY RANDOM BUCKETS AUTO"), 
true)

Review Comment:
   add  `assertContains` method to plugin, and print the return result to log.
   
   for example
   ```groovy
   assertContains(res2.toString(), "DISTRIBUTED BY RANDOM BUCKETS AUTO")
   ```
   
   plugin example: 
https://github.com/apache/doris/blob/master/regression-test/plugins/plugin_check.groovy



-- 
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]

Reply via email to