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

Fabio Pistolesi
11.32.2016 480fb3dccbdef7f5821b9d9dc987096d833b8300
refs
author Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Wednesday, May 11, 2016 12:32 +0200
committer Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Wednesday, May 11, 2016 12:38 +0200
commit480fb3dccbdef7f5821b9d9dc987096d833b8300
tree d0fba14180f2b2388352885f42e941af143ab73b tree | zip | gz
parent 88ed61f4d84c56ecbc79d1cbc9daff6330a2c34d view | diff
Fix unit tests failing on some OSes with Address already in use

Some OSes allow bind() on specific IP addresses even when the port is already in use on the ANY address. Change socket creation to also use ANY instead of localhost.
1 files modified
2 ■■■ changed files
opendj-server-legacy/src/test/java/org/opends/server/TestCaseUtils.java 2 ●●● diff | view | raw | blame | history