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

    https://github.com/apache/flink/pull/5500#discussion_r169055105
  
    --- Diff: 
flink-tests/src/test/java/org/apache/flink/test/streaming/runtime/BroadcastStateITCase.java
 ---
    @@ -145,17 +147,16 @@ public Watermark checkAndGetNextWatermark(T 
lastElement, long extractedTimestamp
                private static final long serialVersionUID = 
7616910653561100842L;
     
                private final Map<Long, String> expectedState;
    -
    -           private final long timerTimestamp;
    +           private final AtomicLong al = new AtomicLong(1000L);
    --- End diff --
    
    Is this `AtomicLong` necessary? As it is now, it suggests some concurrent 
access and thus is confusing.


---

Reply via email to