[
https://issues.apache.org/jira/browse/DERBY-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vemund Østgaard updated DERBY-3224:
-----------------------------------
Attachment: 3224-diffv2.stat
3224-diffv2
Attaching a new patch for this issue, where I have fixed all the issues I have
found in the tests run by suites.All related to running phoneME advanced, and
made a small change in ij. The changes are as follows:
* org/apache/derby/iapi/tools/i18n/LocalizedInput.java - The ij tests were
running really slowly on this platform, I got a good performance increase from
using a BufferedReader on top of the InputStreamReader when ij read from its
scriptfiles. The reason is the use of some buffers when doing character
conversion. Every time the buffer is full, an exception object would be
created, thrown and caught. When ij read 1 char at a time from the InputStream,
this would happen 1.5 million times during the LangScripts test. Using the
BufferedReader reduced the number of exceptions to 92, and made the test run a
lot faster on this platform.
* GrantRevokeTest - Added some code to clean up between tests, failed on
phoneME advanced as the tests were run in opposite order.
* CollationTest.java and CollationTest2.java - Added code to not run the tests
for non-english locales if the locales are not supported.
* ForBitDataTest.java - Added some clean up between tests, as tests got run in
opposite order.
* ScrollCursors1Test.java - Added some clean up between tests, as tests got run
in opposite order.
* ForUpdateTest.java - Moved code from a test to general setup as it was needed
by more than one test and broke if tests were run in oposite order.
* UpdateCursorTest.java - Added some clean up between tests, as tests got run
in opposite order.
* CallableTest.java - Changed some asserts to compare Strings instead of Time
objects, as I couldn't find any evidence that the Time objects themselves are
required to be equal.
* upgradeTests/_Suite.java -
> Get Suites.All to run on the phoneME advanced platform
> ------------------------------------------------------
>
> Key: DERBY-3224
> URL: https://issues.apache.org/jira/browse/DERBY-3224
> Project: Derby
> Issue Type: Test
> Components: Test
> Environment: Product: phoneME Advanced (phoneme_advanced_mr2-b34)
> Profile: Foundation Profile Specification 1.1
> JVM: CVM phoneme_advanced_mr2-b34 (interpreter loop)
> Reporter: Vemund Østgaard
> Assignee: Vemund Østgaard
> Attachments: 3224-diff, 3224-diff.stat, 3224-diffv2, 3224-diffv2.stat
>
>
> I'm trying to get suites.All to run on the phoneME advanced platform.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.