[jboss-svn-commits] JBL Code SVN: r31632 - labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/auction/test/basic.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Feb 12 13:49:52 EST 2010
Author: whitingjr
Date: 2010-02-12 13:49:52 -0500 (Fri, 12 Feb 2010)
New Revision: 31632
Modified:
labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/auction/test/basic/ProfiledStateTransitions.java
Log:
Changed to used DBUnit to load user data.
Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/auction/test/basic/ProfiledStateTransitions.java
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/auction/test/basic/ProfiledStateTransitions.java 2010-02-12 18:49:13 UTC (rev 31631)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/auction/test/basic/ProfiledStateTransitions.java 2010-02-12 18:49:52 UTC (rev 31632)
@@ -366,14 +366,13 @@
* does not parse the recyclebin table names. Just purge recycle the recycle bin now. */
controller.purge(connection);
- /* DBUnit now does it's work of loading the data. */
+ /* DBUnit now does it's work of loading the data.
+ * The number of thread vary, have used XSL to generate enough users in
+ * basedata.xml for all threads. */
for (DatabaseOperation op : beforeTestOperations )
{
op.execute(iDatabaseConn , dataSet);
}
- /* Because the number of threads varies for each test, use batch data population.
- * Uses a prepared statement to batch the inserts. */
- insertUsers(this.concurrencyCount, connection);
/* Reinstate the constraints. */
if (controller.isDisablePreferedOverDrop())
More information about the jboss-svn-commits
mailing list