Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1206

Fix flaky tests in TestJMXServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • None
    • None

    Description

      TestJmxServer brings up an EmbeddedJmxServer and uses it to test the behavior. However, due to failures in bringing up/connecting to JMX server, this fails intermittently. Here is the failure exception.

      serverStartsUp FAILED
      java.lang.AssertionError: Couldn't open connection to local JMX server
      at org.junit.Assert.fail(Assert.java:91)
      at org.apache.samza.metrics.TestJmxServer.serverStartsUp(TestJmxServer.scala:43)

      Attachments

        Issue Links

          Activity

            People

              spvenkat Shanthoosh Venkataraman
              spvenkat Shanthoosh Venkataraman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: