Tests failure during building in FreeBSD

Hello!

I have strange error during build Openfire process in FreeBSD. Sometimes, and this unpredictable yet, I and some other peoples have this error:

[ERROR] Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.728 s <<< FAILURE! - in org.jivesoftware.openfire.ldap.FlattenNestedGroupsTest [ERROR] testConnection(org.jivesoftware.openfire.ldap.FlattenNestedGroupsTest) Time elapsed: 0.059 s <<< ERROR! javax.naming.CommunicationException: connection closed at org.jivesoftware.openfire.ldap.FlattenNestedGroupsTest.testConnection(FlattenNestedGroupsTest.java:126) Caused by: java.io.IOException: connection closed at org.jivesoftware.openfire.ldap.FlattenNestedGroupsTest.testConnection(FlattenNestedGroupsTest.java:126)

Full log here:
https://people.freebsd.org/~yuri/openfire-4.5.3,1.log

Thanx for any ideas in advance.

This test has been given me problems too. We have recently disabled it.

Thank you for fast reply.