|
From: b. <no...@so...> - 2010-04-21 18:18:48
|
#72: Testing - Make changes to allow all tests of TestServiceStarter to pass
when run using both ant & eclipse
--------------------------------+-------------------------------------------
Reporter: btmurphy | Owner: btmurphy
Type: defect | Status: new
Priority: major | Milestone:
Component: Bigdata Federation | Version:
Keywords: |
--------------------------------+-------------------------------------------
Comment(by btmurphy):
To provide a convenient mechanism for externally
running a lookup service when running a test (such
as TestServiceStarter) under eclipse, as well as to
address changeset 2516, the following additions/deletions
are being proposed as part of the fix for this
trac issue:
1. Add the directory, src/resources/bin/config
2. Under src/resources/bin/config, add the following
config files: reggie.config, browser.config, zookeeper.config,
and serviceStarter.config
3. Under src/resources/config/jini/, delete the
following config files: serviceStarterAll.config,
serviceStarterOne.config, and zookeeper.config,
as well as, browser.config.tmp and reggie.config.tmp
4. Make the appropriate changes to build.xml to
accomodate the new config files (set new directory
properties, copy the config files to the staging
area, etc.)
5. Make the necessary changes to src/resources/bin/pstart
to use the new config files.
Doing the above should then allow one who wishes to
launch TestServiceStarter from eclipse to do something
like the following:
cmdWinA: cd <bigdata-dir>
cmdWinA: ./dist/bigdata/bin/pstart --mGroups=testFed reggie
cmdWinB: cd <bigdata-dir> [*** optional ***]
cmdWinB: ./dist/bigdata/bin/pstart --groups=testFed browser
[Note that reggie must be started with mGroups (groups
is optional for reggie), whereas the browser and other
services are started with groups.]
Once a lookup service has been started with member groups
equal to "testFed", TestServiceStarter tests can be
launched from eclipse.
--
Ticket URL: <http://sourceforge.net/apps/trac/bigdata/ticket/72#comment:4>
bigdata® <http://www.bigdata.com/blog>
bigdata® is a scale-out storage and computing fabric supporting optional transactions, very high concurrency, and very high aggregate IO rates.
|