Skip to content

Commit 1a45322

Browse files
committed
teamcity set command_timeout to 0 when execute SqlServerCe tests
1 parent a0439ce commit 1a45322

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

build-common/common-project.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,14 @@
290290
</namespaces>
291291
</xmlpoke>
292292

293+
<xmlpoke file="${app.config}"
294+
xpath="//*/hbm:property[@name='command_timeout']"
295+
value="${nhibernate.command_timeout}">
296+
<namespaces>
297+
<namespace prefix="hbm" uri="urn:nhibernate-configuration-2.2" />
298+
</namespaces>
299+
</xmlpoke>
300+
293301
<xmlpoke file="${app.config}"
294302
xpath="//*/hbm:property[@name='connection.driver_class']"
295303
value="${nhibernate.connection.driver_class}">
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" ?>
22
<project xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd">
33
<property name="nhibernate.dialect" value="NHibernate.Dialect.MsSql2008Dialect" overwrite="false"/>
4+
<property name="nhibernate.command_timeout" value="444" overwrite="false"/>
45
<property name="nhibernate.connection.driver_class" value="NHibernate.Driver.SqlClientDriver" overwrite="false"/>
56
<property name="nhibernate.connection.connection_string" value="Server=.\SQLExpress;initial catalog=nhibernate;Integrated Security=SSPI" overwrite="false"/>
67
</project>

teamcity.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<property name="nhibernate.connection.driver_class" value="NHibernate.Driver.SqlServerCeDriver" />
4747
<property name="nhibernate.dialect" value="NHibernate.Dialect.MsSqlCe40Dialect" />
4848
<property name="nhibernate.connection.connection_string" value="Data Source=NHibernate.sdf" />
49+
<property name="nhibernate.command_timeout" value="0" />
4950
<property name="NHibernate.Test.IgnoreFail" value="true" />
5051
<property name="teamcity.last.result" value="${root.dir}/lib/teamcity/sqlServerCe/NHibernate.Test.last-results.xml" />
5152
<copy todir="${bin.dir}">
@@ -59,6 +60,7 @@
5960
<property name="nhibernate.connection.driver_class" value="NHibernate.Driver.SqlServerCeDriver" />
6061
<property name="nhibernate.dialect" value="NHibernate.Dialect.MsSqlCe40Dialect" />
6162
<property name="nhibernate.connection.connection_string" value="Data Source=NHibernate.sdf" />
63+
<property name="nhibernate.command_timeout" value="0" />
6264
<property name="NHibernate.Test.IgnoreFail" value="true" />
6365
<property name="teamcity.last.result" value="${root.dir}/lib/teamcity/sqlServerCe/NHibernate.Test.last-results.xml" />
6466
<copy todir="${bin.dir}">

0 commit comments

Comments
 (0)