Bug 289894 - Need to merge Oracle proxy authentication tests into the JPA LRG
Summary: Need to merge Oracle proxy authentication tests into the JPA LRG
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-09-18 14:51 EDT by Edwin Tang CLA
Modified: 2022-06-09 10:25 EDT (History)
1 user (show)

See Also:


Attachments
patch file (5.18 KB, patch)
2009-09-18 15:04 EDT, Edwin Tang CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Tang CLA 2009-09-18 14:51:49 EDT
Since Oracle proxy authentication tests have special setting requirement, the tests are separated from the JPA LRG. We may merge the tests into the JPA LRG, and introduce a flag to indicate if Oracle database is setup for the tests. The tests will be run along with the JPA LRG, if the Oracle db is setup properly. Thus, it will save a lot of time to run all JPA tests, specially on servers.
Comment 1 Edwin Tang CLA 2009-09-18 15:04:20 EDT
Created attachment 147591 [details]
patch file

Change Summary:
1. Introduced 2 properties in trunk/jpa/eclipselink.jpa.test/test.properties
## Oracle proxy authentication needs to be setup to run proxy authentication tests
# oracle.proxy.user=PAS_PROXY
# oracle.proxy.authentication.is.setup=false

2. Introduced the following condition
    <!-- This checks if the environment is ready for proxy authentication tests -->
    <condition property="is.ready.for.proxy.authentication">
        <and>
            <isset property="is.oracle"/>
            <contains string="${oracle.proxy.authentication.is.setup}" substring="true"/>
        </and>
    </condition>
3. Oracle proxy authentication tests run only if property  is.ready.for.proxy.authentication is true

4. Oracle proxy authentication tests are added in targets <test-lrg>, <test-oracle> and <server-test-lrg>
Comment 2 Edwin Tang CLA 2009-09-18 15:08:18 EDT
The patch has been checked in the trunk at revision 5182
Code reviewed by: Yiping Zhao
Comment 3 Edwin Tang CLA 2009-09-18 15:18:33 EDT
The patch has been checked in 1.1.0 branch at revision 5183
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:25:41 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink