Skip to content
Browse files

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...
1 parent c8dbcf7 commit b3e8696fdbddd240618b3c7693945fdaa47d258a @chillu chillu committed
Showing with 25 additions and 18 deletions.
  1. +8 −6 phpunit.teamcity.mssql.xml
  2. +8 −6 phpunit.teamcity.postgresql.xml
  3. +8 −6 phpunit.teamcity.sqlite3.xml
  4. +1 −0 phpunit.teamcity.xml
View
14 phpunit.teamcity.mssql.xml
@@ -18,14 +18,16 @@
</exclude>
</groups>
- <!--
- Set different database connection.
- Relies on the presence of the 'zframeworktest_dbswitcher' module
- (https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
- as well as on constants in _ss_environment.php (see module README).
- -->
<php>
+ <!--
+ Set different database connection.
+ Relies on the presence of the 'zframeworktest_dbswitcher' module
+ (https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
+ as well as on constants in _ss_environment.php (see module README).
+ -->
<get name="db" value="mssql"/>
+ <!-- Always flush the manifest -->
+ <get name="flush" value="1"/>
</php>
</phpunit>
View
14 phpunit.teamcity.postgresql.xml
@@ -18,14 +18,16 @@
</exclude>
</groups>
- <!--
- Set different database connection.
- Relies on the presence of the 'zframeworktest_dbswitcher' module
- (https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
- as well as on constants in _ss_environment.php (see module README).
- -->
<php>
+ <!--
+ Set different database connection.
+ Relies on the presence of the 'zframeworktest_dbswitcher' module
+ (https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
+ as well as on constants in _ss_environment.php (see module README).
+ -->
<get name="db" value="postgresql"/>
+ <!-- Always flush the manifest -->
+ <get name="flush" value="1"/>
</php>
</phpunit>
View
14 phpunit.teamcity.sqlite3.xml
@@ -18,14 +18,16 @@
</exclude>
</groups>
- <!--
- Set different database connection.
- Relies on the presence of the 'zframeworktest_dbswitcher' module
- (https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
- as well as on constants in _ss_environment.php (see module README).
- -->
<php>
+ <!--
+ Set different database connection.
+ Relies on the presence of the 'zframeworktest_dbswitcher' module
+ (https://github.com/silverstripe-labs/zframeworktest_dbswitcher),
+ as well as on constants in _ss_environment.php (see module README).
+ -->
<get name="db" value="sqlite3"/>
+ <!-- Always flush the manifest -->
+ <get name="flush" value="1"/>
</php>
</phpunit>
View
1 phpunit.teamcity.xml
@@ -34,4 +34,5 @@
<group>sanitychecks</group>
</exclude>
</groups>
+
</phpunit>

0 comments on commit b3e8696

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