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

boli
19.07.2006 23a954009f2051abbfa38c5695f2a181af1cea2f
refs
author boli <boli@localhost>
Tuesday, September 19, 2006 00:07 +0200
committer boli <boli@localhost>
Tuesday, September 19, 2006 00:07 +0200
commit23a954009f2051abbfa38c5695f2a181af1cea2f
tree d1d1a8fd40bcf17a12d21a2c52def5143f284dac tree | zip | gz
parent 13a183224cefb8a0fd09e4f7ca5ff06c5f077093 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
opends/tests/unit-tests-testng/resource/config-changes.ldif 4 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java 89 ●●●● diff | view | raw | blame | history