You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Milosz Tylenda (JIRA)" <ji...@apache.org> on 2009/07/05 09:52:15 UTC
[jira] Resolved: (OPENJPA-1147) Streaming LOB tests and
TestAutoIncrement not executed by test suite
[ https://issues.apache.org/jira/browse/OPENJPA-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Milosz Tylenda resolved OPENJPA-1147.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
1.3.0
Also made the test issue "CREATE SEQUENCE" so that the test runs without manual changes to database.
Change applied to trunk and 1.3.x branch.
> Streaming LOB tests and TestAutoIncrement not executed by test suite
> --------------------------------------------------------------------
>
> Key: OPENJPA-1147
> URL: https://issues.apache.org/jira/browse/OPENJPA-1147
> Project: OpenJPA
> Issue Type: Test
> Components: build / infrastructure
> Affects Versions: 1.1.0, 1.2.1
> Reporter: Milosz Tylenda
> Assignee: Milosz Tylenda
> Priority: Minor
> Fix For: 1.3.0, 2.0.0
>
>
> InputStreamLobTest and ReaderLobTest tests are not executed because their names end with "Test". TestAutoIncrement is Oracle-specific but is not executed even against Oracle unless you specify -Dplatform=oracle.
> Solution:
> 1. Rename streaming LOB tests to start with "Test".
> 2. Remove isTargetPlatform call from TestAutoIncrement since the test already has @DatabasePlatform("oracle.jdbc.driver.OracleDriver") annotation.
> BTW, a similar issue is with TestOrderColumnXML.testOrderColumnColumnDefinition. It requires to specify -Dplatform=... not to run it if the database is not Derby but I don't think our database profiles do that. Maybe it's better to just use instanceof on DBDictionary.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.