From 2702f2d5826606e0595c0f0cad9f0e902a90677f Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Tue, 8 Nov 2011 13:47:06 +0000
Subject: [PATCH] minor: mark some tests which take > 0.5 as slow

SVN: 23579
---
 .../web/server/resultset/CachedResultSetManagerTest.java      | 2 +-
 .../systemtest/BatchMaterialRegistrationAndUpdateTest.java    | 4 ++--
 .../systemtest/plugin/generic/ExperimentRegistrationTest.java | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/client/web/server/resultset/CachedResultSetManagerTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/client/web/server/resultset/CachedResultSetManagerTest.java
index 838abc9bb63..b1812274e75 100644
--- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/client/web/server/resultset/CachedResultSetManagerTest.java
+++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/client/web/server/resultset/CachedResultSetManagerTest.java
@@ -884,7 +884,7 @@ public final class CachedResultSetManagerTest extends AssertJUnit
         context.assertIsSatisfied();
     }
 
-    @Test
+    @Test(groups = "slow")
     public void testWaitingForFuture()
     {
         List<DataHolder> data = createDataList("a", "b", "c", "d");
diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/BatchMaterialRegistrationAndUpdateTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/BatchMaterialRegistrationAndUpdateTest.java
index ae129392cd3..c16e749b5d6 100644
--- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/BatchMaterialRegistrationAndUpdateTest.java
+++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/BatchMaterialRegistrationAndUpdateTest.java
@@ -69,7 +69,7 @@ public class BatchMaterialRegistrationAndUpdateTest extends SystemTestCase
         commonClientService.unassignPropertyType(EntityKind.MATERIAL, "COMMENT", MATERIAL_TYPE);
     }
 
-    @Test
+    @Test(groups = "slow")
     public void testBatchRegistrationWithManagedProperty()
     {
         logIntoCommonClientService().getSessionID();
@@ -104,7 +104,7 @@ public class BatchMaterialRegistrationAndUpdateTest extends SystemTestCase
         assertProperties("[COMMENT: a & b, DESCRIPTION: compound 2, SIZE: 43]", "C2");
     }
 
-    @Test
+    @Test(groups = "slow")
     public void testUpdateOfPropertiesOfVariousTypes()
     {
         logIntoCommonClientService();
diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/plugin/generic/ExperimentRegistrationTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/plugin/generic/ExperimentRegistrationTest.java
index 36eebdcb4dd..37314aedef6 100644
--- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/plugin/generic/ExperimentRegistrationTest.java
+++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/plugin/generic/ExperimentRegistrationTest.java
@@ -215,7 +215,7 @@ public class ExperimentRegistrationTest extends GenericSystemTestCase
         assertEquals("hello world", new String(attachment.getContent()));
     }
 
-    @Test
+    @Test(groups = "slow")
     public void testBulkUpdateExperiments() throws UnsupportedEncodingException
     {
         logIntoCommonClientService();
-- 
GitLab