You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/04 19:10:04 UTC

[jira] [Commented] (SAMZA-1206) Fix flaky tests in TestJMXServer

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

ASF GitHub Bot commented on SAMZA-1206:
---------------------------------------

GitHub user shanthoosh opened a pull request:

    https://github.com/apache/samza/pull/164

    SAMZA-1206: Fix TestJMXServer.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shanthoosh/samza fix-test-jmx-server-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/samza/pull/164.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #164
    
----
commit 317b1f680b29c6bf1fe0aff43b914eb8c975ca2f
Author: Shanthoosh Venkataraman <sv...@linkedin.com>
Date:   2017-05-03T23:12:08Z

    SAMZA-1206: Fix TestJMXServer.

----


> Fix flaky tests in TestJMXServer
> --------------------------------
>
>                 Key: SAMZA-1206
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1206
>             Project: Samza
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Shanthoosh Venkataraman
>            Assignee: Shanthoosh Venkataraman
>             Fix For: 0.13.0
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)