The full run died with "Premature end of PHP process" on machines whose php.ini keeps PHP's usual 128M: no single test needs more, but the panel tests boot Filament again and again in one process, and the suite outgrew it. Always in a panel test, which is why it looked like one of them was flaky. Stated in phpunit.xml so it runs the same everywhere. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
50 lines
2.1 KiB
XML
50 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
|
bootstrap="vendor/autoload.php"
|
|
colors="true"
|
|
>
|
|
<testsuites>
|
|
<testsuite name="Unit">
|
|
<directory>tests/Unit</directory>
|
|
</testsuite>
|
|
<testsuite name="Feature">
|
|
<directory>tests/Feature</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<source>
|
|
<include>
|
|
<directory>app</directory>
|
|
</include>
|
|
</source>
|
|
<php>
|
|
<!-- The suite, not any one test, outgrew PHP's usual 128M: the panel
|
|
tests boot Filament again and again in one process. Stated here so
|
|
it runs the same on every machine, whatever its php.ini says. -->
|
|
<ini name="memory_limit" value="512M"/>
|
|
<env name="APP_ENV" value="testing"/>
|
|
<env name="APP_MAINTENANCE_DRIVER" value="file"/>
|
|
<env name="BCRYPT_ROUNDS" value="4"/>
|
|
<env name="BROADCAST_CONNECTION" value="null"/>
|
|
<env name="CACHE_STORE" value="array"/>
|
|
<env name="DB_CONNECTION" value="sqlite"/>
|
|
<env name="DB_DATABASE" value=":memory:"/>
|
|
<env name="DB_URL" value=""/>
|
|
<env name="MAIL_MAILER" value="array"/>
|
|
<env name="QUEUE_CONNECTION" value="sync"/>
|
|
<env name="SESSION_DRIVER" value="array"/>
|
|
<env name="PULSE_ENABLED" value="false"/>
|
|
<env name="TELESCOPE_ENABLED" value="false"/>
|
|
<env name="NIGHTWATCH_ENABLED" value="false"/>
|
|
<!-- The OAuth client is configured with throwaway values so tests
|
|
exercise the real code paths without contacting the identity
|
|
server; outbound HTTP is faked in each test. -->
|
|
<env name="PIREON_SERVER" value="https://oauth.pireon.test"/>
|
|
<env name="PIREON_CLIENT_ID" value="test-client-id"/>
|
|
<env name="PIREON_CLIENT_SECRET" value="test-client-secret"/>
|
|
<env name="PIREON_REDIRECT_URI" value="http://localhost/auth/callback"/>
|
|
<env name="APP_LOCALE" value="es"/>
|
|
<env name="APP_FALLBACK_LOCALE" value="es"/>
|
|
</php>
|
|
</phpunit>
|