Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Enforce flush on CI test runs

Would be better handled by an explicity "clear manifest" task,
but that's the best we can do for now. Necessary because
of removed 'flush' setting from bootstrap.php, see
silverstripe/silverstripe-framework#620
  • Loading branch information...
commit b3e8696fdbddd240618b3c7693945fdaa47d258a 1 parent c8dbcf7
Ingo Schommer authored July 05, 2012
14  phpunit.teamcity.mssql.xml
@@ -18,14 +18,16 @@
18 18
 		</exclude>
19 19
 	</groups>
20 20
 
21  
-	<!-- 
22  
-		Set different database connection.
23  
-		Relies on the presence of the 'zframeworktest_dbswitcher' module
24  
-		(https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
25  
-		as well as on constants in _ss_environment.php (see module README).
26  
-	-->
27 21
 	<php>
  22
+		<!-- 
  23
+			Set different database connection.
  24
+			Relies on the presence of the 'zframeworktest_dbswitcher' module
  25
+			(https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
  26
+			as well as on constants in _ss_environment.php (see module README).
  27
+		-->
28 28
 	  <get name="db" value="mssql"/>
  29
+	  <!-- Always flush the manifest -->
  30
+	  <get name="flush" value="1"/>
29 31
 	</php>
30 32
 
31 33
 </phpunit>
14  phpunit.teamcity.postgresql.xml
@@ -18,14 +18,16 @@
18 18
 		</exclude>
19 19
 	</groups>
20 20
 
21  
-	<!-- 
22  
-		Set different database connection.
23  
-		Relies on the presence of the 'zframeworktest_dbswitcher' module
24  
-		(https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
25  
-		as well as on constants in _ss_environment.php (see module README).
26  
-	-->
27 21
 	<php>
  22
+		<!-- 
  23
+			Set different database connection.
  24
+			Relies on the presence of the 'zframeworktest_dbswitcher' module
  25
+			(https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
  26
+			as well as on constants in _ss_environment.php (see module README).
  27
+		-->
28 28
 	  <get name="db" value="postgresql"/>
  29
+	  <!-- Always flush the manifest -->
  30
+	  <get name="flush" value="1"/>
29 31
 	</php>
30 32
 
31 33
 </phpunit>
14  phpunit.teamcity.sqlite3.xml
@@ -18,14 +18,16 @@
18 18
 		</exclude>
19 19
 	</groups>
20 20
 
21  
-	<!-- 
22  
-		Set different database connection.
23  
-		Relies on the presence of the 'zframeworktest_dbswitcher' module
24  
-		(https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
25  
-		as well as on constants in _ss_environment.php (see module README).
26  
-	-->
27 21
 	<php>
  22
+		<!-- 
  23
+			Set different database connection.
  24
+			Relies on the presence of the 'zframeworktest_dbswitcher' module
  25
+			(https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
  26
+			as well as on constants in _ss_environment.php (see module README).
  27
+		-->
28 28
 	  <get name="db" value="sqlite3"/>
  29
+	  <!-- Always flush the manifest -->
  30
+	  <get name="flush" value="1"/>
29 31
 	</php>
30 32
 
31 33
 </phpunit>
1  phpunit.teamcity.xml
@@ -34,4 +34,5 @@
34 34
 			<group>sanitychecks</group>
35 35
 		</exclude>
36 36
 	</groups>
  37
+	
37 38
 </phpunit>

0 notes on commit b3e8696

Please sign in to comment.
Something went wrong with that request. Please try again.