• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Freegle / iznik-server / #2562
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: phpunit-parallel-workaround
DEFAULT BRANCH: master
Ran 29 Dec 2025 09:15PM UTC
Jobs 1
Files 140
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Dec 2025 08:49PM UTC coverage: 87.718%. First build
#2562

Pull #34

edwh
Add PHPUnit parallel test support with per-worker database isolation

WORKAROUND: PHPUnit tests are not properly isolated - they share database
state and don't clean up after themselves. This commit adds infrastructure
to run tests in parallel with paratest by giving each worker its own
database and Beanstalkd tube.

Changes:
- install/iznik.conf.php: Use TEST_TOKEN env var to select per-worker
  database (iznik_1, iznik_2, etc.) and Beanstalkd tube (iznik_1, etc.)
- Dockerfile: Update sed commands to work with new variable-based config
- test/ut/IznikTestCase.php: Add getParallelToken() and parallelName()
  helper methods for unique resource naming in tests

To use parallel tests:
  paratest -p 4 --configuration phpunit.xml test/ut/php/include

Requires creating per-worker databases beforehand.
Pull Request #34: Add PHPUnit parallel test support with per-worker database isolation

26248 of 29923 relevant lines covered (87.72%)

31.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #2562.1 29 Dec 2025 09:13PM UTC 140
87.72
Source Files on build #2562
  • Tree
  • List 140
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #34
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc