[
https://issues.apache.org/jira/browse/DERBY-3842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693582#action_12693582
]
Tiago R. Espinha commented on DERBY-3842:
-----------------------------------------
You're right Kathey. I have built the code and jars in insane mode and the test
fails.
Just some more info that I have been able to acquire through testing:
- The sortBufferMax *is* being set now. I have been able to confirm this
through direct output from the ExternalSortFactory.java and also through the
getSystemProperty method. This value is being set to 5 like it should.
- When I'm running an insane build, or if I simply omit the derby.debug.true,
the tests passing or failing is seemingly random. They fail most of the times
but randomly one of them will pass, which I am truly clueless about. I have
even set up the test so that it creates two separate tables now, since there's
a test that requires additional data to be added.
When the said tests fail though, I have confirmed that the sortBufferMax is
indeed still set to 5, but the statistics just show that an internal sort was
done rather than an external one. Weirdly enough, if the debug is set to true,
the tests pass all the time. I even made several consecutive runs of the test
just to be sure and it is a 100% pass rate.
Does anyone have any ideas as to why this is happening?
> Convert
> "org.apache.derbyTesting.functionTests.tests.store.holdCursorExternalSortJDBC30.sql"
> to junit.
> ------------------------------------------------------------------------------------------------------
>
> Key: DERBY-3842
> URL: https://issues.apache.org/jira/browse/DERBY-3842
> Project: Derby
> Issue Type: Test
> Components: Test
> Reporter: Junjie Peng
> Assignee: Tiago R. Espinha
> Attachments: derby-3842-1.patch, derby-3842-1.stat,
> derby-3842-tiago.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.