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 3e1e6c8d764072e39c38421302c640decd893f52
Author: deardeng <[email protected]>
AuthorDate: Tue Mar 5 23:56:04 2024 +0800

    [fix](cloud) Fix `version_p0` run in cloud mode (#31810)
---
 regression-test/suites/version_p0/version_p0.groovy | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/regression-test/suites/version_p0/version_p0.groovy 
b/regression-test/suites/version_p0/version_p0.groovy
index b72f231eb62..98d3e2eaeb7 100644
--- a/regression-test/suites/version_p0/version_p0.groovy
+++ b/regression-test/suites/version_p0/version_p0.groovy
@@ -41,5 +41,6 @@ suite("version_p0", "p0") {
 
     // check written partition version is higher
     assertEquals(res[0][2].toString(), "2")
-    assertEquals(res[1][2].toString(), "1")
+    assert res[1][2].toString() == "1" || \
+        res[1][2].toString() == "0"  // Cloud will returns zero.
 }
\ No newline at end of file


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

Reply via email to