Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2804#discussion_r88241945
  
    --- Diff: 
flink-tests/src/test/java/org/apache/flink/test/windowing/sessionwindows/SessionWindowITCase.java
 ---
    @@ -122,11 +122,11 @@ private void runTest(
     
                // check that overall event counts match with our expectations. 
remember that late events within lateness will
                // each trigger a window!
    -           Assert.assertEquals(
    -                           (LATE_EVENTS_PER_SESSION + 1) * 
NUMBER_OF_SESSIONS * EVENTS_PER_SESSION,
    +           Assert.assertEquals(Long.valueOf(
    +                           (LATE_EVENTS_PER_SESSION + 1) * 
NUMBER_OF_SESSIONS * EVENTS_PER_SESSION),
                                
result.getAccumulatorResult(SESSION_COUNTER_ON_TIME_KEY));
    -           Assert.assertEquals(
    -                           NUMBER_OF_SESSIONS * (LATE_EVENTS_PER_SESSION * 
(LATE_EVENTS_PER_SESSION + 1) / 2),
    +           Assert.assertEquals(Long.valueOf(
    --- End diff --
    
    I think unboxing the second argument would be nicer than boxing the first


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to