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

Rui Xia updated FLINK-32975:
----------------------------
    Description: 
This ticket is for the junit version upgrade of Changelog module.

The assertThat() in junit5 uses Object#equals to compare two Map.Entry. The 
unnamed class Map.Entry<UK, UV> in ChangelogMapState uses the default 
Object#equals(), which does not compares the contents of two entries.

This ticket is to add a basic equal() implementation for the Map.Entry<UK, UV> 
in ChangelogMapState.

> Enhance equal() for ChangelogMapState's iterator
> ------------------------------------------------
>
>                 Key: FLINK-32975
>                 URL: https://issues.apache.org/jira/browse/FLINK-32975
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / State Backends, Tests
>            Reporter: Rui Xia
>            Priority: Minor
>
> This ticket is for the junit version upgrade of Changelog module.
> The assertThat() in junit5 uses Object#equals to compare two Map.Entry. The 
> unnamed class Map.Entry<UK, UV> in ChangelogMapState uses the default 
> Object#equals(), which does not compares the contents of two entries.
> This ticket is to add a basic equal() implementation for the Map.Entry<UK, 
> UV> in ChangelogMapState.



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

Reply via email to