You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Mariia Mykhailova (JIRA)" <ji...@apache.org> on 2016/04/07 20:59:25 UTC

[jira] [Updated] (REEF-1324) TcpConnectionRetryTest.TestConnectionRetries fails in command line

     [ https://issues.apache.org/jira/browse/REEF-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mariia Mykhailova updated REEF-1324:
------------------------------------
    Description: 
{{TcpConnectionRetryTest.TestConnectionRetries}} passes when executed from VS but fails (reproducible) when tests are executed from command line.

Expected # of retries is 5, but 0 are found by the code. Test log shows messages {{INFO: Retry - Count:5, Delay:00:00:00.5000000, ...}}, so it's a matter of test not being able to find the messages in the output, not of retries not done.

Also, assert.equals needs to have a clear message, currently actual and expected values are swapped.

Repros: [~markus.weimer], [~MariiaMykhailova].

  was:
{{TcpConnectionRetryTest.TestConnectionRetries}} passes when executed from VS but fails (reproducible) when tests are executed from command line.

Expected # of retries is 5, but 0 are found by the code. Test log shows messages {{INFO: Retry - Count:5, Delay:00:00:00.5000000, ...}}, so it's a matter of test not being able to find the messages in the output, not of retries not done.

Also, assert.equals needs to have a clear message, currently actual and expected values are swapped.


> TcpConnectionRetryTest.TestConnectionRetries fails in command line
> ------------------------------------------------------------------
>
>                 Key: REEF-1324
>                 URL: https://issues.apache.org/jira/browse/REEF-1324
>             Project: REEF
>          Issue Type: Sub-task
>          Components: REEF.NET
>            Reporter: Mariia Mykhailova
>
> {{TcpConnectionRetryTest.TestConnectionRetries}} passes when executed from VS but fails (reproducible) when tests are executed from command line.
> Expected # of retries is 5, but 0 are found by the code. Test log shows messages {{INFO: Retry - Count:5, Delay:00:00:00.5000000, ...}}, so it's a matter of test not being able to find the messages in the output, not of retries not done.
> Also, assert.equals needs to have a clear message, currently actual and expected values are swapped.
> Repros: [~markus.weimer], [~MariiaMykhailova].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)