Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-1077

Flakey test CliFrontendPackageProgramTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • 0.7.0-incubating
    • None
    • None

    Description

      Test is error is CliFrontendPackageProgramTest # testPlanWithExternalClass()

      The error occurs in my recent travis builds one in 10 times or so.

      The following stack trace describes the error:

      java.lang.AssertionError
       at org.junit.Assert.fail(Assert.java:86)
       at org.junit.Assert.assertTrue(Assert.java:41)
       at org.junit.Assert.assertTrue(Assert.java:52)
       at org.apache.flink.client.CliFrontendPackageProgramTest$1.loadClass(CliFrontendPackageProgramTest.java:249)
      

      Is it possible that race conditions cause the classloader to be used for different classes as well? In any case, the test should change the assertion to assertEquals, such that the expected name is part of the error message (helps debugging what went wrong).

      Attachments

        Activity

          People

            twalthr Timo Walther
            sewen Stephan Ewen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: