james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r404772 - /james/server/trunk/src/test/org/apache/james/remotemanager/RemoteManagerTest.java
Date Sun, 07 May 2006 14:44:38 GMT
Author: bago
Date: Sun May  7 07:44:36 2006
New Revision: 404772

URL: http://svn.apache.org/viewcvs?rev=404772&view=rev
Log:
Added an explanation to the assert of a randomly failing test.
Even after the new port assignment code I still have random failures in RemoteManager.

Modified:
    james/server/trunk/src/test/org/apache/james/remotemanager/RemoteManagerTest.java

Modified: james/server/trunk/src/test/org/apache/james/remotemanager/RemoteManagerTest.java
URL: http://svn.apache.org/viewcvs/james/server/trunk/src/test/org/apache/james/remotemanager/RemoteManagerTest.java?rev=404772&r1=404771&r2=404772&view=diff
==============================================================================
--- james/server/trunk/src/test/org/apache/james/remotemanager/RemoteManagerTest.java (original)
+++ james/server/trunk/src/test/org/apache/james/remotemanager/RemoteManagerTest.java Sun
May  7 07:44:36 2006
@@ -94,7 +94,7 @@
 
         List answers = readAnswer();
         String last = getLastLine(answers);
-        assertTrue(last.startsWith("Welcome"));
+        assertTrue("Last line does not start with Welcome: "+last,last.startsWith("Welcome"));
     }
 
     protected String getLastLine(List list) {



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message