[
https://issues.apache.org/jira/browse/FLINK-9923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16553927#comment-16553927
]
ASF GitHub Bot commented on FLINK-9923:
---------------------------------------
Github user zentol commented on the issue:
https://github.com/apache/flink/pull/6398
well, that's a fairly general statement isn't it :/
Unless we find any mention anywhere of a major JVM not adhering to the JLS
in this regard, that is suited for Flink applications, I would go with a
volatile long.
Personally i never follow inspections at face value; we don't know how
up-to-date this inspections or what information it is based on, which JVMs it
applies to as it doesn't mention even a single example, and as with all
JVM-/environment-specific inspections the applicability is questionable.
> OneInputStreamTaskTest.testWatermarkMetrics fails on Travis
> -----------------------------------------------------------
>
> Key: FLINK-9923
> URL: https://issues.apache.org/jira/browse/FLINK-9923
> Project: Flink
> Issue Type: Bug
> Components: Tests
> Affects Versions: 1.6.0
> Reporter: Till Rohrmann
> Priority: Critical
> Labels: pull-request-available, test-stability
> Fix For: 1.6.0
>
>
> {{OneInputStreamTaskTest.testWatermarkMetrics}} fails on Travis with
> {code}
> java.lang.AssertionError: expected:<1> but was:<-9223372036854775808>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:645)
> at org.junit.Assert.assertEquals(Assert.java:631)
> at
> org.apache.flink.streaming.runtime.tasks.OneInputStreamTaskTest.testWatermarkMetrics(OneInputStreamTaskTest.java:731)
> {code}
> https://api.travis-ci.org/v3/job/407196285/log.txt
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)