[teiid-commits] teiid SVN: r1425 - trunk/test-integration/db/src/main/resources.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Sun Sep 20 00:22:12 EDT 2009


Author: vhalbert at redhat.com
Date: 2009-09-20 00:22:12 -0400 (Sun, 20 Sep 2009)
New Revision: 1425

Modified:
   trunk/test-integration/db/src/main/resources/default-config.properties
Log:
Teiid 773 - organize integration test - changed it where a specialized testcase (i.e. LocalTransactionDriverTrueOffTest) only has to extend the single/two source testcases and provide the setup of the properties to control how the tests will be performed (i.e., autocommit, transaction type, connection type, txnautowrap, etc.).   Now I can create variations of the specialized testcase in order to test the same set of tests (queries) under different behavior options.

Modified: trunk/test-integration/db/src/main/resources/default-config.properties
===================================================================
--- trunk/test-integration/db/src/main/resources/default-config.properties	2009-09-20 04:17:44 UTC (rev 1424)
+++ trunk/test-integration/db/src/main/resources/default-config.properties	2009-09-20 04:22:12 UTC (rev 1425)
@@ -1,34 +1,16 @@
 ##########################################
 # Common Properties for everybody
 ##########################################
-#available types (datasource, driver, jndi)
-#connection-type=datasource
-connection-type=driver
 
 process-batch = 20
 connector-batch = 20
 
-# local, xa, jndi
-transaction-type=local
-
-# autocommit applies to local transaction-type only
-# default is true
-autocommit=false
-
 # this is how to submit queries to Teiid
 # default is true
 execute.in.batch=false
 
-
-# AUTO_WRAP_OFF = "OFF" 
-# AUTO_WRAP_ON = "ON"
-# AUTO_WRAP_PESSIMISTIC = "PESSIMISTIC"
-# AUTO_WRAP_OPTIMISTIC = "OPTIMISTIC"
-
-txnAutoWrap=off
-
 ##########################################
-# properties for MetaMatrix connection
+# properties for Teiid connection
 ##########################################
 driver=com.metamatrix.jdbc.EmbeddedDataSource
 URL=jdbc:metamatrix:Transaction at target/classes/transactions/transaction.properties
@@ -62,9 +44,34 @@
 pm1=nonxa
 pm2=nonxa
 
-#pm1=mysqlA
-#pm2=mysqlB
 
+##########################################
+# For default design of testcases, these properties are in the setup method of the testcase.
+# However, you can create your own version of the config properties file
+# and specify these properties in the config file
+# NOTE:  will need to set the Sytem "config" property in order to override the default-config.properties file
+##########################################
 
 
+#available types (datasource, driver, jndi)
+#connection-type=datasource
+#connection-type=driver
 
+
+# local, xa, jndi
+#transaction-type=local
+
+# autocommit applies to local transaction-type only
+# default is true
+#autocommit=false
+
+# AUTO_WRAP_OFF = "OFF" 
+# AUTO_WRAP_ON = "ON"
+# AUTO_WRAP_PESSIMISTIC = "PESSIMISTIC"
+# AUTO_WRAP_OPTIMISTIC = "OPTIMISTIC"
+
+#txnAutoWrap=off
+
+#-----------------------------
+
+



More information about the teiid-commits mailing list