admin@glassfish.java.net

running a single admin test?

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Fri, 13 Aug 2010 14:21:42 -0400

Howdy,

How do I run a single admin test? http://wikis.sun.com/display/GlassFish/AdminTests has an example, but I don't know how to specify the test name (or the example command is wrong).

I can run just, eg., the node tests with:

ant -emacs -Dteststorun=node all

But if I want to only run the node-create-cluster test, I can't get it to work. Have tried several combinations of test name and group name without success. Simple attempt:

BUILD FAILED
/Users/bobby/work/ws/gf/v2/appserv-tests/devtests/admin/cli/build.xml:209: The following error occurred while executing this line:
Target "node-create-cluster" does not exist in the project "admin".

Any help?

Thanks,
Bobby