mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Removed some arbitrary output
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -196,10 +196,6 @@ public class FileImporterTest extends TestCase
|
|||||||
String userPwd = args.length > 6 ? args[6] : "";
|
String userPwd = args.length > 6 ? args[6] : "";
|
||||||
while (count < target)
|
while (count < target)
|
||||||
{
|
{
|
||||||
File directory = TempFileProvider.getTempDir();
|
|
||||||
File[] files = directory.listFiles();
|
|
||||||
System.out.println("Start temp file count = " + files.length);
|
|
||||||
|
|
||||||
count++;
|
count++;
|
||||||
FileImporterTest test = new FileImporterTest();
|
FileImporterTest test = new FileImporterTest();
|
||||||
test.setUp();
|
test.setUp();
|
||||||
@@ -268,15 +264,9 @@ public class FileImporterTest extends TestCase
|
|||||||
System.out.println("Committed in: " + ((end - start) / 1000000.0) + "ms");
|
System.out.println("Committed in: " + ((end - start) / 1000000.0) + "ms");
|
||||||
double total = ((first+second)/1000000.0);
|
double total = ((first+second)/1000000.0);
|
||||||
System.out.println("Grand Total: "+ grandTotal);
|
System.out.println("Grand Total: "+ grandTotal);
|
||||||
System.out.println("Count: "+ count + "ms");
|
|
||||||
System.out.println("Imported: " + importCount + " files or directories");
|
System.out.println("Imported: " + importCount + " files or directories");
|
||||||
System.out.println("Average: " + (importCount / (total / 1000.0)) + " files per second");
|
System.out.println("Average: " + (importCount / (total / 1000.0)) + " files per second");
|
||||||
|
|
||||||
directory = TempFileProvider.getTempDir();
|
|
||||||
files = directory.listFiles();
|
|
||||||
System.out.println("End temp file count = " + files.length);
|
|
||||||
|
|
||||||
|
|
||||||
tx = transactionService.getUserTransaction();
|
tx = transactionService.getUserTransaction();
|
||||||
tx.begin();
|
tx.begin();
|
||||||
SearchParameters sp = new SearchParameters();
|
SearchParameters sp = new SearchParameters();
|
||||||
|
Reference in New Issue
Block a user