Bug 289787 - SessionBean testing didn't pass the real server url from server.properties
Summary: SessionBean testing didn't pass the real server url from server.properties
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: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-09-17 15:40 EDT by Kevin Yuan CLA
Modified: 2022-06-09 10:14 EDT (History)
0 users

See Also:


Attachments
patch for the bug (3.00 KB, application/octet-stream)
2009-09-17 15:47 EDT, Kevin Yuan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Yuan CLA 2009-09-17 15:40:48 EDT
In each server properties, only server.url has been defined, but in sessionbean test case class, it try to get server-url from properties files, so it always got default server url, never got real server url.
Comment 1 Kevin Yuan CLA 2009-09-17 15:47:00 EDT
Created attachment 147480 [details]
patch for the bug

Change "server-url" to "server.url" in SessionBeanTests.java, which will pass the real server url to test case from server properties file.

Run these testing on WLS and JBoss, all passed.
Code reviewed by Yiping Zhao.
Comment 2 Kevin Yuan CLA 2009-09-17 15:51:13 EDT
Checked into both Eclipse 2.0 (revision: 5168) and 1.1 (revision: 5169).
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:08:56 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:14:23 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink