[ 
https://issues.apache.org/jira/browse/IGNITE-29204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Werner updated IGNITE-29204:
-----------------------------------
    Labels: ise  (was: )

> Fix string-based version comparison in IndexTypesCompatibilityTest
> ------------------------------------------------------------------
>
>                 Key: IGNITE-29204
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29204
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Dmitry Werner
>            Assignee: Dmitry Werner
>            Priority: Minor
>              Labels: ise
>             Fix For: 2.20
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> IndexTypesCompatibilityTest#validateResultingCacheData compares Ignite 
> versions as strings:
>     igniteVer.compareTo("2.8.0") < 0   // Binary
>     igniteVer.compareTo("2.7.0") < 0   // UUID
> Lexicographically "2.10.0".."2.18.0" < "2.8.0", so Binary and UUID index 
> checks are silently skipped for all versions since 2.10.0 (on JDK 17+ the 
> checks never run at all).
> Fix: compare IgniteReleasedVersion values instead of strings.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to