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 "Kathey Marsden (JIRA)" <ji...@apache.org> on 2008/08/01 21:40:31 UTC
[jira] Commented: (DERBY-3812) failure in
testAttributeDrdaStreamOutBufferSize(org.apache.derbyTesting.functionTests.tests.management.NetworkServerMBeanTest)junit.framework.AssertionFailedError:
expected:<0> but was:<131072>
[ https://issues.apache.org/jira/browse/DERBY-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619105#action_12619105 ]
Kathey Marsden commented on DERBY-3812:
---------------------------------------
I think this is related to running the new OutBufferedStreamTest before this test and the property derby.drda.streamOutBufferSize is left set. Perhaps the test could use SystemPropertiesTestSetup instead of:
Properties sysprops = System.getProperties();
sysprops.put("derby.drda.streamOutBufferSize", "131072");
so the property will get reset after the test runs.
> failure in testAttributeDrdaStreamOutBufferSize(org.apache.derbyTesting.functionTests.tests.management.NetworkServerMBeanTest)junit.framework.AssertionFailedError: expected:<0> but was:<131072>
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-3812
> URL: https://issues.apache.org/jira/browse/DERBY-3812
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure, Test
> Affects Versions: 10.5.0.0
> Reporter: Kathey Marsden
>
> 1) testAttributeDrdaStreamOutBufferSize(org.apache.derbyTesting.functionTests.tests.management.NetworkServerMBeanTest)junit.framework.AssertionFailedError: expected:<0> but was:<131072>
> at org.apache.derbyTesting.functionTests.tests.management.MBeanTest.assertIntAttribute(MBeanTest.java:401)
> at org.apache.derbyTesting.functionTests.tests.management.NetworkServerMBeanTest.testAttributeDrdaStreamOutBufferSize(NetworkServerMBeanTest.java:226)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:104)
> 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)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> FAILURES!!!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.