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

ASF GitHub Bot updated FLINK-16409:
-----------------------------------
    Labels: pull-request-available  (was: )

> Use LinkedHashMap for deterministic iterations
> ----------------------------------------------
>
>                 Key: FLINK-16409
>                 URL: https://issues.apache.org/jira/browse/FLINK-16409
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Task
>            Reporter: testfixer0
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>
> Test `testKeyedMapStateUpgrade` depends on `put` in `HeapMapState.java` and 
> `deserialize` in `MapSerializer.java`. It has this following test assertion 
> `assertEquals((Integer) 1, actual.getKey());` that asserts the `getKey()` 
> value of `actual`. However the `HashMap` in `put` and `deserialize` does not 
> guarantee any specific order of entries. Therefore, the assertion will fail 
> if the order is different.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to