From b7e992b9df3f050eafdbef20d8cd43b7ec2ac822 Mon Sep 17 00:00:00 2001 From: Andrew Hind Date: Tue, 21 Feb 2012 14:23:08 +0000 Subject: [PATCH] Merged BRANCHES/DEV/V4.0-BUG-FIX to HEAD 34118: Possible Oracle Fix git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34129 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../repo/solr/SOLRTrackingComponentTest.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/java/org/alfresco/repo/solr/SOLRTrackingComponentTest.java b/source/java/org/alfresco/repo/solr/SOLRTrackingComponentTest.java index f8e670f127..47a992f941 100644 --- a/source/java/org/alfresco/repo/solr/SOLRTrackingComponentTest.java +++ b/source/java/org/alfresco/repo/solr/SOLRTrackingComponentTest.java @@ -160,7 +160,7 @@ public class SOLRTrackingComponentTest extends TestCase SOLRTest st = new SOLRTest3(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testGetNodeMetaData", true, true); List createdTransactions = st.buildTransactions(); - List txns = solrTrackingComponent.getTransactions(null, startTime, null, null, 50); + List txns = solrTrackingComponent.getTransactions(null, startTime-1000, null, null, 100); int[] updates = new int[] {1, 1}; int[] deletes = new int[] {0, 1}; @@ -198,7 +198,7 @@ public class SOLRTrackingComponentTest extends TestCase // All - List txns = solrTrackingComponent.getTransactions(null, startTime, null, null, 50); + List txns = solrTrackingComponent.getTransactions(null, startTime-1000, null, null, 100); int[] updates = new int[] {1, 1}; int[] deletes = new int[] {0, 1}; @@ -254,7 +254,7 @@ public class SOLRTrackingComponentTest extends TestCase SOLRTest st = new SOLRTestResidualProperties(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testNodeMetaDataNullPropertyValue", true, true); List createdTransactions = st.buildTransactions(); - List txns = solrTrackingComponent.getTransactions(null, startTime, null, null, 50); + List txns = solrTrackingComponent.getTransactions(null, startTime-1000, null, null, 100); int[] updates = new int[] {2}; int[] deletes = new int[] {0}; @@ -278,7 +278,7 @@ public class SOLRTrackingComponentTest extends TestCase SOLRTest st = new SOLRTest100Nodes(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testGetNodeMetaData", true, true); List createdTransactions = st.buildTransactions(); - List txns = solrTrackingComponent.getTransactions(null, startTime, null, null, 50); + List txns = solrTrackingComponent.getTransactions(null, startTime-1000, null, null, 100); int[] updates = new int[] {100}; int[] deletes = new int[] {0}; @@ -307,7 +307,7 @@ public class SOLRTrackingComponentTest extends TestCase SOLRTest st = new SOLRTest4(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testNodeMetaDataManyNodes", true, false); List createdTransactions = st.buildTransactions(); - List txns = solrTrackingComponent.getTransactions(null, fromCommitTime, null, null, 50); + List txns = solrTrackingComponent.getTransactions(null, fromCommitTime-1000, null, null, 100); int[] updates = new int[] {2001}; int[] deletes = new int[] {0}; @@ -364,7 +364,7 @@ public class SOLRTrackingComponentTest extends TestCase SOLRTest st = new SOLRTest4(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testNodeMetaDataManyNodes", true, false); List createdTransactions = st.buildTransactions(); - List txns = solrTrackingComponent.getTransactions(null, fromCommitTime, null, null, 50); + List txns = solrTrackingComponent.getTransactions(null, fromCommitTime-1000, null, null, 100); int[] updates = new int[] {2001}; int[] deletes = new int[] {0}; @@ -394,7 +394,7 @@ public class SOLRTrackingComponentTest extends TestCase SOLRTest st = new SOLRTest5(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testNodeMetaDataNullPropertyValue", true, true); List createdTransactions = st.buildTransactions(); - List txns = solrTrackingComponent.getTransactions(null, fromCommitTime, null, null, 50); + List txns = solrTrackingComponent.getTransactions(null, fromCommitTime-1000, null, null, 100); int[] updates = new int[] {11}; int[] deletes = new int[] {0}; @@ -416,7 +416,7 @@ public class SOLRTrackingComponentTest extends TestCase SOLRTest st = new SOLRTest1(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testFilters", true, true); List createdTransactions = st.buildTransactions(); - List txns = solrTrackingComponent.getTransactions(null, startTime, null, null, 50); + List txns = solrTrackingComponent.getTransactions(null, startTime-1000, null, null, 100); int[] updates = new int[] {1, 1}; int[] deletes = new int[] {0, 1};