From 59723f19eaf849d921f2acd8b5f3d0f2e8a75ac0 Mon Sep 17 00:00:00 2001
From: pkupczyk <pkupczyk>
Date: Tue, 23 Oct 2012 11:59:38 +0000
Subject: [PATCH] Fix search junits after Lucene index regeneration

SVN: 27330
---
 .../systemtest/api/v1/GeneralInformationServiceTest.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/api/v1/GeneralInformationServiceTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/api/v1/GeneralInformationServiceTest.java
index ed53a3908f7..20d121dd5cb 100644
--- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/api/v1/GeneralInformationServiceTest.java
+++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/systemtest/api/v1/GeneralInformationServiceTest.java
@@ -722,9 +722,9 @@ public class GeneralInformationServiceTest extends SystemTestCase
         List<DataSet> dataSets =
                 generalInformationService.searchForDataSets(sessionToken, searchCriteria);
         assertEquals(
-                "[DataSet[20110509092359990-10,/CISD/DEFAULT/EXP-REUSE,<null>,CONTAINER_TYPE,{}], DataSet[20081105092259000-19,/CISD/DEFAULT/EXP-REUSE,<null>,CONTAINER_TYPE,{}]]",
+                "[DataSet[CONTAINER_2,/CISD/DEFAULT/EXP-REUSE,<null>,CONTAINER_TYPE,{}], DataSet[20110509092359990-10,/CISD/DEFAULT/EXP-REUSE,<null>,CONTAINER_TYPE,{}], DataSet[20081105092259000-19,/CISD/DEFAULT/EXP-REUSE,<null>,CONTAINER_TYPE,{}], DataSet[ROOT_CONTAINER,/CISD/DEFAULT/EXP-REUSE,<null>,CONTAINER_TYPE,{}], DataSet[CONTAINER_1,/CISD/DEFAULT/EXP-REUSE,<null>,CONTAINER_TYPE,{}]]",
                 dataSets.toString());
-        List<DataSet> containedDataSets = dataSets.get(0).getContainedDataSets();
+        List<DataSet> containedDataSets = dataSets.get(1).getContainedDataSets();
         assertEquals("[DataSet[20110509092359990-11,<null>,<null>,HCS_IMAGE,{}], "
                 + "DataSet[20110509092359990-12,<null>,<null>,HCS_IMAGE,{}]]",
                 containedDataSets.toString());
-- 
GitLab