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

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 596d8df83f6ddb89120d63f0d996c341fca4ff8c
Author: airborne12 <[email protected]>
AuthorDate: Tue Apr 16 09:45:47 2024 +0800

    [Update](cloud) skip show data size assertion in cloud mode (#33677)
---
 .../suites/inverted_index_p0/test_show_data.groovy  | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/regression-test/suites/inverted_index_p0/test_show_data.groovy 
b/regression-test/suites/inverted_index_p0/test_show_data.groovy
index 838d0ec4cd0..055ac794e35 100644
--- a/regression-test/suites/inverted_index_p0/test_show_data.groovy
+++ b/regression-test/suites/inverted_index_p0/test_show_data.groovy
@@ -177,13 +177,16 @@ suite("test_show_data", "p0") {
         sql """ ALTER TABLE ${testTableWithoutIndex} DROP INDEX idx_request """
         wait_for_latest_op_on_table_finish(testTableWithoutIndex, timeout)
         def another_no_index_size = 
wait_for_show_data_finish(testTableWithoutIndex, 300000, with_index_size)
-        assertEquals(another_no_index_size, no_index_size)
-
+        if (!isCloudMode()) {
+            assertEquals(another_no_index_size, no_index_size)
+        }
         sql "DROP TABLE IF EXISTS ${testTableWithIndex}"
         create_httplogs_table_with_index.call(testTableWithIndex)
         load_httplogs_data.call(testTableWithIndex, 
'test_httplogs_load_with_index', 'true', 'json', 'documents-1000.json')
         def another_with_index_size = 
wait_for_show_data_finish(testTableWithIndex, 300000, 0)
-        assertEquals(another_with_index_size, with_index_size)
+        if (!isCloudMode()) {
+            assertEquals(another_with_index_size, with_index_size)
+        }
     } finally {
         //try_sql("DROP TABLE IF EXISTS ${testTable}")
     }
@@ -351,13 +354,17 @@ suite("test_show_data_for_bkd", "p0") {
         sql """ ALTER TABLE ${testTableWithoutBKDIndex} DROP INDEX idx_status 
"""
         wait_for_latest_op_on_table_finish(testTableWithoutBKDIndex, timeout)
         def another_no_index_size = 
wait_for_show_data_finish(testTableWithoutBKDIndex, 300000, with_index_size)
-        assertEquals(another_no_index_size, no_index_size)
+        if (!isCloudMode()) {
+            assertEquals(another_no_index_size, no_index_size)
+        }
 
         sql "DROP TABLE IF EXISTS ${testTableWithBKDIndex}"
         create_httplogs_table_with_bkd_index.call(testTableWithBKDIndex)
         load_httplogs_data.call(testTableWithBKDIndex, 
'test_httplogs_load_with_bkd_index', 'true', 'json', 'documents-1000.json')
         def another_with_index_size = 
wait_for_show_data_finish(testTableWithBKDIndex, 300000, 0)
-        assertEquals(another_with_index_size, with_index_size)
+        if (!isCloudMode()) {
+            assertEquals(another_with_index_size, with_index_size)
+        }
     } finally {
         //try_sql("DROP TABLE IF EXISTS ${testTable}")
     }
@@ -537,7 +544,9 @@ suite("test_show_data_multi_add", "p0") {
         create_httplogs_table_with_index.call(testTableWithIndex)
         load_httplogs_data.call(testTableWithIndex, 
'test_show_data_httplogs_multi_add_with_index', 'true', 'json', 
'documents-1000.json')
         def another_with_index_size = 
wait_for_show_data_finish(testTableWithIndex, 300000, 0)
-        assertEquals(another_with_index_size, with_index_size2)
+        if (!isCloudMode()) {
+            assertEquals(another_with_index_size, with_index_size2)
+        }
     } finally {
         //try_sql("DROP TABLE IF EXISTS ${testTable}")
     }


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

Reply via email to