flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-9923) OneInputStreamTaskTest.testWatermarkMetrics fails on Travis
Date Tue, 24 Jul 2018 06:40:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-9923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16553877#comment-16553877
] 

ASF GitHub Bot commented on FLINK-9923:
---------------------------------------

Github user tillrohrmann commented on the issue:

    https://github.com/apache/flink/pull/6398
  
    I got this from an IntelliJ inspection warning which says
    >Reports fields of type long or double which are declared as volatile. While Java specifies
that reads and writes from such fields are atomic, many JVM's have violated this specification.
Unless you are certain of your JVM, it is better to synchronized access to such fields rather
than declare them volatile.
    



> 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)

Mime
View raw message