Skip to content

Commit 8e9394f

Browse files
committed
Introduced test domain configs for newer yet not supported versions of storages
Helps to try them out without adding them as supported, can be overwritten in configuration files
1 parent 2395be0 commit 8e9394f

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

Orm/Xtensive.Orm.Tests.Framework/Orm.config

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
<domain name="mssql2019"
3434
connectionUrl="sqlserver://dotest:dotest@localhost\DO_SQL2019:1419/DO-Tests?MultipleActiveResultSets=True" />
3535

36+
<!-- A hook to have abitity to check and test newer, yet not supported, versions without adding them to the file -->
37+
<!-- This allows to override it in storage configuration files -->
38+
<domain name="mssqlnext"
39+
connectionUrl="sqlserver://localhost/DO-Tests?MultipleActiveResultSets=True" />
40+
3641
<domain name="pgsql83"
3742
connectionUrl="postgresql://dotest:dotest@localhost:5483/dotest" />
3843

@@ -54,24 +59,44 @@
5459
<domain name="pgsql110"
5560
connectionUrl="postgresql://dotest:dotest@localhost:54110/dotest" />
5661

62+
<!-- A hook to have abitity to check and test newer, yet not supported, versions without adding them to the file -->
63+
<!-- This allows to override it in storage configuration files -->
64+
<domain name="pgsqlnext"
65+
connectionUrl="postgresql://dotest:dotest@localhost:54110/dotest" />
66+
5767
<domain name="oracle10"
5868
connectionUrl="oracle://dotest:dotest@localhost:5510/ora10" />
5969

6070
<domain name="oracle11"
6171
connectionUrl="oracle://dotest:dotest@localhost:5511/ora11" />
6272

73+
<!-- A hook to have abitity to check and test newer, yet not supported, versions without adding them to the file -->
74+
<!-- This allows to override it in storage configuration files -->
75+
<domain name="oraclenext"
76+
connectionUrl="oracle://dotest:dotest@localhost:5511/ora11" />
77+
6378
<domain name="mysql55"
6479
connectionUrl="mysql://dotest:dotest@localhost:3355/dotest" />
6580

6681
<domain name="mysql56"
6782
connectionUrl="mysql://dotest:dotest@localhost:3356/dotest" />
6883

84+
<!-- A hook to have abitity to check and test newer, yet not supported, versions without adding them to the file -->
85+
<!-- This allows to override it in storage configuration files -->
86+
<domain name="mysqlnext"
87+
connectionUrl="mysql://dotest:dotest@localhost:3356/dotest" />
88+
6989
<domain name="firebird25"
7090
connectionUrl="firebird://dotest:dotest@localhost:3050/dotest" />
7191

7292
<domain name="firebird30"
7393
connectionUrl="firebird://dotest:dotest@localhost:3053/dotest" />
7494

95+
<!-- A hook to have abitity to check and test newer, yet not supported, versions without adding them to the file -->
96+
<!-- This allows to override it in storage configuration files -->
97+
<domain name="firebirdnext"
98+
connectionUrl="sqlserver://localhost/DO-Tests?MultipleActiveResultSets=True" />
99+
75100
<domain name="sqlite3"
76101
connectionUrl="sqlite:///DO-Tests.db3" />
77102

@@ -104,6 +129,11 @@
104129
<domain name="mssql2019cs" provider="sqlserver"
105130
connectionString="Data Source=localhost\DO_SQL2019,1419;Initial Catalog=DO-Tests;User ID=dotest;Password=dotest;MultipleActiveResultSets=True;Encrypt=false" />
106131

132+
<!-- A hook to have abitity to check and test newer, yet not supported, versions without adding them to the file -->
133+
<!-- This allows to override it in storage configuration files -->
134+
<domain name="mssqlnextcs" provider="sqlserver"
135+
connectionString="Data Source=localhost;Initial Catalog=DO-Tests;Integrated Security=True;MultipleActiveResultSets=True" />
136+
107137
<domain name="pgsql83cs" provider="postgresql"
108138
connectionString="HOST=localhost;PORT=5483;DATABASE=dotest;USER ID=dotest;PASSWORD=dotest" />
109139

@@ -125,24 +155,44 @@
125155
<domain name="pgsql110cs" provider="postgresql"
126156
connectionString="HOST=localhost;PORT=54110;DATABASE=dotest;USER ID=dotest;PASSWORD=dotest" />
127157

158+
<!-- A hook to have abitity to check and test newer, yet not supported, versions without adding them to the file -->
159+
<!-- This allows to override it in storage configuration files -->
160+
<domain name="pgsqlnextcs" provider="postgresql"
161+
connectionString="HOST=localhost;PORT=54110;DATABASE=dotest;USER ID=dotest;PASSWORD=dotest" />
162+
128163
<domain name="oracle10cs" provider="oracle"
129164
connectionString="DATA SOURCE=&quot;(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=5510))(CONNECT_DATA=(SERVICE_NAME=ora10)))&quot;;USER ID=dotest;PASSWORD=dotest" />
130165

131166
<domain name="oracle11cs" provider="oracle"
132167
connectionString="DATA SOURCE=&quot;(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=5511))(CONNECT_DATA=(SERVICE_NAME=ora11)))&quot;;USER ID=dotest;PASSWORD=dotest" />
133168

169+
<!-- A hook to have abitity to check and test newer, yet not supported, versions without adding them to the file -->
170+
<!-- This allows to override it in storage configuration files -->
171+
<domain name="oraclenextcs" provider="oracle"
172+
connectionString="DATA SOURCE=&quot;(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=5511))(CONNECT_DATA=(SERVICE_NAME=ora11)))&quot;;USER ID=dotest;PASSWORD=dotest" />
173+
134174
<domain name="mysql55cs" provider="mysql"
135175
connectionString="Server=localhost;Port=3355;Database=dotest;Uid=dotest;Pwd=dotest" />
136176

137177
<domain name="mysql56cs" provider="mysql"
138178
connectionString="Server=localhost;Port=3356;Database=dotest;Uid=dotest;Pwd=dotest" />
139179

180+
<!-- A hook to have abitity to check and test newer, yet not supported, versions without adding them to the file -->
181+
<!-- This allows to override it in storage configuration files -->
182+
<domain name="mysqlnextcs" provider="mysql"
183+
connectionString="Server=localhost;Port=3356;Database=dotest;Uid=dotest;Pwd=dotest" />
184+
140185
<domain name="firebird25cs" provider="firebird"
141186
connectionString="User=dotest;Password=dotest;Database=dotest;DataSource=localhost;Port=3050;Dialect=3;Charset=UTF8;Role=;Connection lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0" />
142187

143188
<domain name="firebird30cs" provider="firebird"
144189
connectionString="User=dotest;Password=dotest;Database=dotest;DataSource=localhost;Port=3053;Dialect=3;Charset=UTF8;Role=;Connection lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0" />
145190

191+
<!-- A hook to have abitity to check and test newer, yet not supported, versions without adding them to the file -->
192+
<!-- This allows to override it in storage configuration files -->
193+
<domain name="firebirdnextcs" provider="firebird"
194+
connectionString="User=dotest;Password=dotest;Database=dotest;DataSource=localhost;Port=3053;Dialect=3;Charset=UTF8;Role=;Connection lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0" />
195+
146196
<domain name="sqlite3cs" provider="sqlite"
147197
connectionString="Data Source=DO-Tests.db3" />
148198
</domains>

0 commit comments

Comments
 (0)