Issue Details (XML | Word | Printable)

Key: DIRMINA-159
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Niklas Therning
Reporter: Ersin Er
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

Build of the project fails due to tests not passsing

Created: 04/Jan/06 11:10 PM   Updated: 31/Aug/06 10:32 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 0.9.1

Time Tracking:
Not Specified

Environment: Java. 1.5.0_06, Maven 2.0.1, Fedora Core 4

Resolution Date: 20/Jan/06 05:40 AM


 Description  « Hide
The build of the project sometimes fail with the following messages:

[surefire] Running org.apache.mina.transport.socket.nio.SocketTrafficControlTest
[surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.164 sec <<<<<<<< FAILURE !!
[surefire] Running org.apache.mina.transport.socket.nio.DatagramTrafficControlTest
[surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.146 sec <<<<<<<< FAILURE !!

However, this is not a certain case that happens all the time and when it happens, it blocks the build of the whole directory project in trunk which is really bad.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #369203 Sun Jan 15 14:38:09 UTC 2006 niklas Fix for DIRMINA-159. SocketTrafficControlTest and DatagramTrafficControlTest will work better now.
Files Changed
MODIFY /directory/trunks/mina/core/src/test/java/org/apache/mina/transport/AbstractTrafficControlTest.java

Repository Revision Date User Message
ASF #370589 Thu Jan 19 20:05:05 UTC 2006 niklas DIRMINA-159. Replaced any use of InetAddress.getLocalHost() with "localhost"
or similar to allow the tests to run even if the current host's hostname doesn't
map to an IP address.
Files Changed
MODIFY /directory/trunks/mina/examples/src/test/java/org/apache/mina/examples/echoserver/AcceptorTest.java
MODIFY /directory/trunks/mina/examples/src/test/java/org/apache/mina/examples/echoserver/ConnectorTest.java

Repository Revision Date User Message
ASF #370617 Thu Jan 19 20:27:24 UTC 2006 niklas DIRMINA-159. Changed InetAddressEditorTest to only use DNS queries for localhost
if there is no network connection.
Files Changed
MODIFY /directory/trunks/mina/spring/src/test/java/org/apache/mina/integration/spring/InetAddressEditorTest.java