[
https://issues.apache.org/jira/browse/DERBY-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488793
]
Andrew McIntyre commented on DERBY-2543:
----------------------------------------
derby.language.maxMemoryPerTable is a static property. It is set once, at boot
time, and then does not change. See
org.apache.derby.engine.impl.sql.compile.OptimizerFactoryImpl.boot(). See also
the Tuning guide for a discussion of dynamic vs. static Derby properties.
singleUseDatabaseDecorator wasn't exactly what I was looking for, but it
doesn't appear that DatabasePropertyTestSetup(test, properties, true) is
working either, although it appears to be doing the right thing as far as
setting the properties, and shutting down / bringing up the database. Next to
investigate is whether OptimizerFactoryImpl.boot() is being called again after
the shutdown to pick up the new property values.
> testVirtualMemoryHeap junit test fails with "Virtual memory heap test
> failed! Got unexpected value. expected:<202> but was:<103>"
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-2543
> URL: https://issues.apache.org/jira/browse/DERBY-2543
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure
> Affects Versions: 10.3.0.0
> Reporter: Mike Matrigali
>
> junit suite fails with the following error:
> 2)
> testVirtualMemoryHeap(org.apache.derbyTesting.functionTests.tests.lang.UpdateCursorTest)junit.framework.AssertionFailedError:
> Virtual memory heap test failed! Got unexpected value. expected:<202> but
> was:<103>
> at
> org.apache.derbyTesting.functionTests.tests.lang.UpdateCursorTest.testVirtualMemoryHeap(UpdateCursorTest.java:178)
> 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:88)
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.