Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
24843905
Commit
24843905
authored
Oct 11, 2019
by
Andre Freyssinet
Browse files
Adds tests for JDBCTransaction.
parent
33152f12
Changes
5
Hide whitespace changes
Inline
Side-by-side
tests/src/joram/a3jdbc.props
View file @
24843905
# Properties needed to launch an A3 server with JDBC
# Properties needed to launch an A3 server with JDBC
(added to JVM properties at launching).
org.ow2.joram.jdbc.transaction.driver=org.apache.derby.jdbc.EmbeddedDriver
org.ow2.joram.jdbc.transaction.url=jdbc:derby:MyJoramDB@@sid@@;create=true
org.ow2.joram.dbtransaction.dbtable=MyTable
...
...
tests/src/joram/a3none.props
View file @
24843905
# Properties needed to launch an A3 server
# Properties needed to launch an A3 server
(added to JVM properties at launching).
tests/src/joram/build.xml
View file @
24843905
...
...
@@ -3673,8 +3673,6 @@
<!-- param name="Destination"
value="org.objectweb.joram.client.jms.Queue"/ -->
<param
name=
"transaction"
value=
"fr.dyade.aaa.ext.NGTransaction"
/>
<!-- param name="transaction"
value="fr.dyade.aaa.util.NTransaction"/ -->
<param
name=
"engine"
value=
"fr.dyade.aaa.agent.Engine"
/>
<!-- param name="engine" value="fr.dyade.aaa.agent.GCEngine"/ -->
<!-- param name="BaseClass" value="joram.perfs.TcpBaseTest"/ -->
...
...
@@ -3734,8 +3732,6 @@
value=
"org.objectweb.joram.client.jms.Topic"
/>
<!-- param name="Destination"
value="org.objectweb.joram.client.jms.Queue"/ -->
<!-- param name="transaction"
value="fr.dyade.aaa.util.NTransaction"/ -->
<param
name=
"transaction"
value=
"fr.dyade.aaa.util.NullTransaction"
/>
<param
name=
"engine"
value=
"fr.dyade.aaa.agent.Engine"
/>
...
...
@@ -3772,7 +3768,7 @@
<antcall
target=
"test.run"
inheritAll=
"true"
>
<param
name=
"className"
value=
"joram.perfs.Test6"
/>
<param
name=
"engine"
value=
"fr.dyade.aaa.agent.Engine"
/>
<param
name=
"transaction"
value=
"fr.dyade.aaa.
util
.NTransaction"
/>
<param
name=
"transaction"
value=
"fr.dyade.aaa.
ext
.N
G
Transaction"
/>
<param
name=
"jndiconf"
value=
"perfs/jndi.properties"
/>
<param
name=
"a3conf"
value=
"perfs/a3servers1.xml"
/>
<param
name=
"jvmargs"
value=
"-agentlib:hprof=cpu=samples -DDestination=org.objectweb.joram.client.jms.Queue -DBaseClass=joram.perfs.TcpBaseTest -DMsgTransient=false -DSubDurable=true -DTransacted=false -DNbSender=1 -DNbReceiver=1 -DNbDestination=1 -DNbRound=100 -DNbMsgPerRound=100 -DMsgSize=100000"
/>
...
...
tests/src/joram/perfs/a3servers1.xml
View file @
24843905
...
...
@@ -7,7 +7,7 @@
<!--property name="Transaction.MaxLogFileSize" value="256"/ -->
<!--property name="Transaction.minObjInLog" value="0"/ -->
<!-- Propert
y
for JDBCTransaction, ignored in other case -->
<!-- Propert
ies
for JDBCTransaction, ignored in other case -->
<property
name=
"org.ow2.joram.jdbc.transaction.driver"
value=
"org.apache.derby.jdbc.EmbeddedDriver"
/>
<property
name=
"org.ow2.joram.jdbc.transaction.url"
value=
"jdbc:derby:MyJoramDB@@sid@@;create=true"
/>
...
...
tests/src/joram/recovery/a3servers_jdbc.xml
View file @
24843905
...
...
@@ -2,7 +2,7 @@
<config>
<property
name=
"Transaction"
value=
"fr.dyade.aaa.ext.JDBCTransaction"
/>
<property
name=
"Transaction.UseLockFile"
value=
"false"
/>
<property
name=
"org.ow2.joram.jdbc.transaction.driver"
value=
"org.apache.derby.jdbc.EmbeddedDriver"
/>
<property
name=
"org.ow2.joram.jdbc.transaction.url"
value=
"jdbc:derby:MyJoramDB@@sid@@;create=true"
/>
<property
name=
"org.ow2.joram.dbtransaction.dbtable"
value=
"MyTable"
/>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment