Skip to Content.
Sympa Menu

perfsonar-dev - [pS-dev] [GEANT/SA2/ps-java-services] r6139 - trunk/psBase3/perfsonar-base/src/test/java/net/geant/perfsonar

Subject: perfsonar development work

List archive

[pS-dev] [GEANT/SA2/ps-java-services] r6139 - trunk/psBase3/perfsonar-base/src/test/java/net/geant/perfsonar


Chronological Thread 
  • From:
  • To:
  • Subject: [pS-dev] [GEANT/SA2/ps-java-services] r6139 - trunk/psBase3/perfsonar-base/src/test/java/net/geant/perfsonar
  • Date: Thu, 14 Feb 2013 15:21:36 +0000 (GMT)
  • Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none

Author: psnc.pietrzak
Date: 2013-02-14 15:21:36 +0000 (Thu, 14 Feb 2013)
New Revision: 6139

Modified:

trunk/psBase3/perfsonar-base/src/test/java/net/geant/perfsonar/SSHTelnetMPWebServiceTest.java
Log:
Corrected a bug in automated test case.

Modified:
trunk/psBase3/perfsonar-base/src/test/java/net/geant/perfsonar/SSHTelnetMPWebServiceTest.java
===================================================================
---
trunk/psBase3/perfsonar-base/src/test/java/net/geant/perfsonar/SSHTelnetMPWebServiceTest.java
2013-02-14 15:16:46 UTC (rev 6138)
+++
trunk/psBase3/perfsonar-base/src/test/java/net/geant/perfsonar/SSHTelnetMPWebServiceTest.java
2013-02-14 15:21:36 UTC (rev 6139)
@@ -1,6 +1,7 @@
package net.geant.perfsonar;

import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;

import java.io.IOException;

@@ -46,7 +47,7 @@
@Test
public void shouldRegisterToLookupService() throws Exception {
Thread.sleep(TWO_SECONDS * 3 + 500);
- assertEquals(3, ls.getKeepAliveCount());
+ assertTrue(ls.getKeepAliveCount() > 0);
assertEquals(1, ls.getRegisterCount());
}




  • [pS-dev] [GEANT/SA2/ps-java-services] r6139 - trunk/psBase3/perfsonar-base/src/test/java/net/geant/perfsonar, svn-noreply, 02/14/2013

Archive powered by MHonArc 2.6.16.

Top of Page