db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren" <m.v.lunte...@gmail.com>
Subject Re: [jira] Commented: (DERBY-919) improve pattern for setting up junit tests
Date Wed, 15 Mar 2006 18:28:27 GMT
On 3/15/06, Andreas Korneliussen <Andreas.Korneliussen@sun.com> wrote:
> Kristian Waagan wrote:
> > Also, it seems the harness uses all of "hostName", "
> derbyTesting.serverhost" and "derbyTesting.clienthost". Can anyone shed
> some light on this?
> I assume that derbyTesting.serverhost is the hostname for the derby
> server, derbyTesting.clienthost is the hostname for the client.
> Andreas

hostName is defaulted to 'localhost', but can be set with RunTest/RunSuite
to enable testing with the networkserver on another machine. This is
required for, for instance, IPV6 machine testing.
derbyTesting.serverhost and derbyTesting.clienthost are only relevant
because they are used in the derby_tests.policy file - they're *not* used
anywhere else.
(So the test harness sets derbyTesting.serverhost if hostName has been set
explicitly, otherwise it's always 'localhost').

I'll try to catch up on what is being mentioned in this discussion and join
the discussion...


View raw message