Skip to content

A free open source IT asset/license management system

Bumped test ceiling

snipebfcd0325046f
diff --git a/.env.testing.example b/.env.testing.example
index 26211f95c3..ecc63e080f 100644
--- a/.env.testing.example
+++ b/.env.testing.example
@@ -17,3 +17,17 @@ DB_PORT=3306
DB_DATABASE=null
DB_USERNAME=null
DB_PASSWORD=null
+
+# --------------------------------------------
+# TEST-SUITE MEMORY CEILING
+# --------------------------------------------
+# ItemImportRequest, ObjectImportCommand, and LdapSync each call
+# ini_set('memory_limit', env('IMPORT_MEMORY_LIMIT', '500M')) at
+# request-boot / command-boot time. That downgrades whatever the
+# CLI sets (via -d memory_limit=1G or php.ini), so a full-suite
+# run that hits any importer fixture crashes at ~500M even when
+# the CLI asked for more. Bumping the override here means the
+# tests inherit a workable ceiling without changing the production
+# defaults those same env keys use on real installs.
+IMPORT_MEMORY_LIMIT=2G
+LDAP_MEM_LIM=2G