[
https://issues.apache.org/jira/browse/IGNITE-25974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitrii Zabotlin reassigned IGNITE-25974:
-----------------------------------------
Assignee: Dmitrii Zabotlin (was: Igor Sapego)
> C++ tests do not catch unsynced changes to ErrorGroups.java
> -----------------------------------------------------------
>
> Key: IGNITE-25974
> URL: https://issues.apache.org/jira/browse/IGNITE-25974
> Project: Ignite
> Issue Type: Bug
> Reporter: Aditya Mukhopadhyay
> Assignee: Dmitrii Zabotlin
> Priority: Major
> Labels: ignite-3
>
> When an error code is added or modified in ErrorCodes.java, it used to be the
> case that upon building the project, the corresponding changes would be
> auto-generated for C++ client code. If this step is omitted, TC C++ tests
> should fail by design.
> However, for the following PR:
> [https://github.com/apache/ignite-3/pull/6262]
> As of the commit:
> [2a38162baf24a8a042ae15170835a292a12fac88|https://github.com/apache/ignite-3/pull/6262/commits/2a38162baf24a8a042ae15170835a292a12fac88],
> only ErrorGroups.java (and related C# files) have been updated, but no
> corresponding changes to the C++ error groups are present. Despite this
> mismatch, the TC tests pass completely, as evidenced at
> [https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/9319034.]
> This is incorrect behaviour and needs to be fixed.
> *Definition of done:*
> When you change error codes in ErrorGroups.java and then build the project,
> new error codes for C++ will be auto-generated, which you then will have to
> commit. If you won't do this, TC C++ tests should fail.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)