Vadim Pakhnushev created IGNITE-23921:
-----------------------------------------

             Summary: C++ tests fail when run in multi-node mode
                 Key: IGNITE-23921
                 URL: https://issues.apache.org/jira/browse/IGNITE-23921
             Project: Ignite
          Issue Type: Bug
            Reporter: Vadim Pakhnushev


[C++ Linux 
Tests|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunCppLinuxTests?buildTypeTab=buildTypeSettings]
 and [C++ Windows 
Tests|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunCWindowsTests?buildTypeTab=buildTypeSettings]
 configurations define {{IGNITE_CPP_TESTS_USE_SINGLE_NODE}} so these tests run 
in the single-node mode. They fail locally without this variable, for example, 
running {{./bin/ignite-client-test --gtest_filter=sql_test*}} produce the 
following error:
{noformat}
[          ] [ ERROR ]   Error: org.apache.ignite.sql.SqlException: Failed to 
validate query. At line 0, column 0: Cannot assign to target field 'STR' of 
type VARCHAR(1000) from source field 'EXPR$0' of type BIGINT (262148, 
ae6c272c-7393-4928-a63a-82e84f0464ac)
[          ] [ DEBUG ]   Closed Connection ID 1, error=Client stopped
[          ] [ DEBUG ]   Closed Connection ID 2, error=Client stopped
unknown file: Failure
C++ exception with description "org.apache.ignite.sql.SqlException: Failed to 
validate query. At line 0, column 0: Cannot assign to target field 'STR' of 
type VARCHAR(1000) from source field 'EXPR$0' of type BIGINT (262148, 
ae6c272c-7393-4928-a63a-82e84f0464ac)" thrown in SetUpTestSuite().
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to