mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
19.07.2006 f9a021d92562ec506f98875d691b5d6ac862167e
refs
author boli <boli@localhost>
Tuesday, September 19, 2006 00:07 +0200
committer boli <boli@localhost>
Tuesday, September 19, 2006 00:07 +0200
commitf9a021d92562ec506f98875d691b5d6ac862167e
tree 7529b7922e25b27f79cf001ef4aca59edf5efbc5 tree | zip | gz
parent f6ea9a0b75f20cf05c57f1fd36dcb9c1b06afad4 view | diff
Added the ability to run unit tests in parallel on the same machine by randomly
choosing the ports the test server uses. The startServer() method picks 3 unused ports and writes them out to config-changes.ldif. It replaces the tokens "#ldapport#", "#jmxport#", and "#ldapsport#" with the port numbers. The getServerLdapPort etc. methods will return the ports assigned to those listeners.

Fix for issue 657
2 files modified
93 ■■■■ changed files
opendj-sdk/opends/tests/unit-tests-testng/resource/config-changes.ldif 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java 89 ●●●● diff | view | raw | blame | history