Description
Parts of the state of TestConfiguration has been made public, which they should not be; DEFAULT_PORT and DEFAULT_HOSTNAME.
Using these directly from the outside can cause settings overridden by the user to be ignored by tests. Further, a test should not care if the host/port it uses is the Derby default or the values set by the user running the test.
To obtain a hostname and a port number, use the methods getPort and getHostName in TestConfiguration.
Attachments
Attachments
Issue Links
- is related to
-
DERBY-4217 Make the default port for the suites.All run configurable with a system property.
- Closed
- relates to
-
DERBY-4090 Provide the ability to run tests concurrently on the same machine
- Open