You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2020/08/13 02:22:58 UTC

[impala] 06/06: IMPALA-9995 Fix test_alloc_fail failed case on aarch64

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

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

commit 8addf4300be33c57b79580d879c08316a47e3f90
Author: zhaorenhai <zh...@hotmail.com>
AuthorDate: Thu Jul 23 19:29:44 2020 +0800

    IMPALA-9995 Fix test_alloc_fail failed case on aarch64
    
    Length of Json object '{"a": 1}", '$.a' is 32 bytes on x86,
    but is 48 bytes on aarch64
    
    Change-Id: I9a5a4ba19b225bdb4f18a68d6d9cb2c2d16f91fd
    Reviewed-on: http://gerrit.cloudera.org:8080/16307
    Tested-by: Tim Armstrong <ta...@cloudera.com>
    Reviewed-by: Tim Armstrong <ta...@cloudera.com>
---
 .../workloads/functional-query/queries/QueryTest/alloc-fail-init.test   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testdata/workloads/functional-query/queries/QueryTest/alloc-fail-init.test b/testdata/workloads/functional-query/queries/QueryTest/alloc-fail-init.test
index 13249e9..c6d17b5 100644
--- a/testdata/workloads/functional-query/queries/QueryTest/alloc-fail-init.test
+++ b/testdata/workloads/functional-query/queries/QueryTest/alloc-fail-init.test
@@ -68,5 +68,5 @@ FunctionContextImpl::AllocateForResults() failed to allocate 10 bytes.
 ---- QUERY
 select get_json_object('{"a": 1}', '$.a')
 ---- CATCH
-FunctionContextImpl::AllocateForResults() failed to allocate 32 bytes
+row_regex:(.*)FunctionContextImpl::AllocateForResults\(\) failed to allocate (32|48) bytes
 ====