Project

General

Profile

Actions

Bug #5294

open

Enable Junit test on http://dev-testing.dataone.org:8080/hudson/job/Metacat/

Added by Jing Tao over 13 years ago. Updated over 13 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
02/04/2011
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5294

Description

Currently in hudson test, the build will run "ant clean war" to verify the new commitment code would not break the build. We need another further step: enable junit tests.

In order to run the junit test on hudson, Metacat should be configured. Currently the metacat/lib/metacat.properties are not configured. User should use admin page to do the configuration. We need to modify metacat.properties to make it configured.

Here are some properties need to be modified in metacat.properties:
database.user=
database.password=
database.type=
database.driver=
database.adapter=
test.metacatDeployDir=
configutil.propertiesConfigured=false
configutil.authConfigured=false
configutil.skinsConfigured=false
configutil.databaseConfigured=false
configutil.geoserverConfigured=false

In test.properties:
metacat.contextDir

In build.properties:
build.tomcat.dir
app.deploy.dir

After modifying above properties file, when a developer to build a installer, he has to modify those properties:
configutil.propertiesConfigured
configutil.authConfigured
configutil.skinsConfigured
configutil.databaseConfigured
configutil.geoserverConfigured

Otherwise, the amdin servlet will be bypassed.

We also need to figure out how to deploy the service in dev-testing.dataone.

Actions

Also available in: Atom PDF