You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2014/03/07 03:21:45 UTC

[jira] [Commented] (DERBY-6347) testPingWithDefinedHostAndPort failure junit.framework.AssertionFailedError: expectedExitValue:0 does not match exitValue:2734160

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

Myrna van Lunteren commented on DERBY-6347:
-------------------------------------------

Also I note that the actual output seems quite comforting - showing that we are getting a connection, and that seems to be indeed what we expect. So the problem appears(appeared?) to be with the return or exit value.

> testPingWithDefinedHostAndPort failure junit.framework.AssertionFailedError: expectedExitValue:0 does not match exitValue:2734160
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6347
>                 URL: https://issues.apache.org/jira/browse/DERBY-6347
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.8.3.3
>            Reporter: Mamta A. Satoor
>
> testPingWithDefinedHostAndPort failed on 10.8.3.1(1523866) with IBM 1.4 on Windows 2008 machine
> http://people.apache.org/~myrnavl/derby_test_results/v10_8/windows/testlog/ibm142/1523866-suites.All_diff.txt
> testPingWithDefinedHostAndPort(org.apache.derbyTesting.functionTests.tests.derbynet.NetworkServerControlClientCommandTest)junit.framework.AssertionFailedError: expectedExitValue:0 does not match exitValue:2734160
> expected output:[Ljava.lang.String;@29004114 actual output:Mon Sep 16 19:28:26 PDT 2013 : Connection obtained for host: localhost, port number 3100.
>  expected:<0> but was:<2734160>
> 	at org.apache.derbyTesting.junit.BaseTestCase.assertExecJavaCmdAsExpected(BaseTestCase.java:510)
> 	at org.apache.derbyTesting.functionTests.tests.derbynet.NetworkServerControlClientCommandTest.assertSuccessfulPing(NetworkServerControlClientCommandTest.java:135)
> 	at org.apache.derbyTesting.functionTests.tests.derbynet.NetworkServerControlClientCommandTest.testPingWithDefinedHostAndPort(NetworkServerControlClientCommandTest.java:103)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:113)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)



--
This message was sent by Atlassian JIRA
(v6.2#6252)