mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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
This commit is contained in:
@@ -160,7 +160,7 @@ public class SOLRTrackingComponentTest extends TestCase
|
|||||||
SOLRTest st = new SOLRTest3(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testGetNodeMetaData", true, true);
|
SOLRTest st = new SOLRTest3(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testGetNodeMetaData", true, true);
|
||||||
List<Long> createdTransactions = st.buildTransactions();
|
List<Long> createdTransactions = st.buildTransactions();
|
||||||
|
|
||||||
List<Transaction> txns = solrTrackingComponent.getTransactions(null, startTime, null, null, 50);
|
List<Transaction> txns = solrTrackingComponent.getTransactions(null, startTime-1000, null, null, 100);
|
||||||
|
|
||||||
int[] updates = new int[] {1, 1};
|
int[] updates = new int[] {1, 1};
|
||||||
int[] deletes = new int[] {0, 1};
|
int[] deletes = new int[] {0, 1};
|
||||||
@@ -198,7 +198,7 @@ public class SOLRTrackingComponentTest extends TestCase
|
|||||||
|
|
||||||
// All
|
// All
|
||||||
|
|
||||||
List<Transaction> txns = solrTrackingComponent.getTransactions(null, startTime, null, null, 50);
|
List<Transaction> txns = solrTrackingComponent.getTransactions(null, startTime-1000, null, null, 100);
|
||||||
|
|
||||||
int[] updates = new int[] {1, 1};
|
int[] updates = new int[] {1, 1};
|
||||||
int[] deletes = new int[] {0, 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);
|
SOLRTest st = new SOLRTestResidualProperties(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testNodeMetaDataNullPropertyValue", true, true);
|
||||||
List<Long> createdTransactions = st.buildTransactions();
|
List<Long> createdTransactions = st.buildTransactions();
|
||||||
|
|
||||||
List<Transaction> txns = solrTrackingComponent.getTransactions(null, startTime, null, null, 50);
|
List<Transaction> txns = solrTrackingComponent.getTransactions(null, startTime-1000, null, null, 100);
|
||||||
|
|
||||||
int[] updates = new int[] {2};
|
int[] updates = new int[] {2};
|
||||||
int[] deletes = new int[] {0};
|
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);
|
SOLRTest st = new SOLRTest100Nodes(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testGetNodeMetaData", true, true);
|
||||||
List<Long> createdTransactions = st.buildTransactions();
|
List<Long> createdTransactions = st.buildTransactions();
|
||||||
|
|
||||||
List<Transaction> txns = solrTrackingComponent.getTransactions(null, startTime, null, null, 50);
|
List<Transaction> txns = solrTrackingComponent.getTransactions(null, startTime-1000, null, null, 100);
|
||||||
|
|
||||||
int[] updates = new int[] {100};
|
int[] updates = new int[] {100};
|
||||||
int[] deletes = new int[] {0};
|
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);
|
SOLRTest st = new SOLRTest4(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testNodeMetaDataManyNodes", true, false);
|
||||||
List<Long> createdTransactions = st.buildTransactions();
|
List<Long> createdTransactions = st.buildTransactions();
|
||||||
|
|
||||||
List<Transaction> txns = solrTrackingComponent.getTransactions(null, fromCommitTime, null, null, 50);
|
List<Transaction> txns = solrTrackingComponent.getTransactions(null, fromCommitTime-1000, null, null, 100);
|
||||||
|
|
||||||
int[] updates = new int[] {2001};
|
int[] updates = new int[] {2001};
|
||||||
int[] deletes = new int[] {0};
|
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);
|
SOLRTest st = new SOLRTest4(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testNodeMetaDataManyNodes", true, false);
|
||||||
List<Long> createdTransactions = st.buildTransactions();
|
List<Long> createdTransactions = st.buildTransactions();
|
||||||
|
|
||||||
List<Transaction> txns = solrTrackingComponent.getTransactions(null, fromCommitTime, null, null, 50);
|
List<Transaction> txns = solrTrackingComponent.getTransactions(null, fromCommitTime-1000, null, null, 100);
|
||||||
|
|
||||||
int[] updates = new int[] {2001};
|
int[] updates = new int[] {2001};
|
||||||
int[] deletes = new int[] {0};
|
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);
|
SOLRTest st = new SOLRTest5(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testNodeMetaDataNullPropertyValue", true, true);
|
||||||
List<Long> createdTransactions = st.buildTransactions();
|
List<Long> createdTransactions = st.buildTransactions();
|
||||||
|
|
||||||
List<Transaction> txns = solrTrackingComponent.getTransactions(null, fromCommitTime, null, null, 50);
|
List<Transaction> txns = solrTrackingComponent.getTransactions(null, fromCommitTime-1000, null, null, 100);
|
||||||
|
|
||||||
int[] updates = new int[] {11};
|
int[] updates = new int[] {11};
|
||||||
int[] deletes = new int[] {0};
|
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);
|
SOLRTest st = new SOLRTest1(txnHelper, fileFolderService, nodeDAO, nodeService, dictionaryService, rootNodeRef, "testFilters", true, true);
|
||||||
List<Long> createdTransactions = st.buildTransactions();
|
List<Long> createdTransactions = st.buildTransactions();
|
||||||
|
|
||||||
List<Transaction> txns = solrTrackingComponent.getTransactions(null, startTime, null, null, 50);
|
List<Transaction> txns = solrTrackingComponent.getTransactions(null, startTime-1000, null, null, 100);
|
||||||
|
|
||||||
int[] updates = new int[] {1, 1};
|
int[] updates = new int[] {1, 1};
|
||||||
int[] deletes = new int[] {0, 1};
|
int[] deletes = new int[] {0, 1};
|
||||||
|
Reference in New Issue
Block a user