You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2018/07/23 20:24:00 UTC
[jira] [Commented] (FLINK-9923)
OneInputStreamTaskTest.testWatermarkMetrics fails on Travis
[ https://issues.apache.org/jira/browse/FLINK-9923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16553358#comment-16553358 ]
Till Rohrmann commented on FLINK-9923:
--------------------------------------
I think the problem is that {{WatermarkGauge's}} {{currentWatermark}} field is not volatile but can be accessed by multiple threads.
> 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: 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)