Skip to content

Segmentation fault on unit Test #3781

@Surt

Description

@Surt

Yesterday, after upgrading codecept to the last version (last one I was using was 1 month older, don't know the version) my unit tests fails with a segmentation fault.

codecept run unit -vvv 
Codeception PHP Testing Framework v2.2.6
Powered by PHPUnit 5.6.3 by Sebastian Bergmann and contributors.

Unit Tests (60) --------------------------------------------------------------------------
Modules: Asserts, \Helper\Unit, Mockery, Phalcon
------------------------------------------------------------------------------------------
✔ AclTest: Acl acesses (0.03s)
✔ SearchServiceTest: Searcher (0.15s)
✔ SearchServiceTest: Searcher invalid search (0.01s)
✔ SearchTest: Default build (0.06s)
✔ SearchTest: Params build (0.06s)
✔ ControllerWebTest: Sanitize input_with corrupted data_returns filtered values (0.01s)
✔ RouterTest: Testfront end | #0 (0.01s)
✔ RouterTest: Testfront end | #1 (0.02s)
✔ RouterTest: Testfront end | #2 (0.01s)
✔ RouterTest: Testfront end | #3 (0.01s)
✔ RouterTest: Testfront end | #4 (0.01s)
✔ RouterTest: Testfront end | #5 (0.01s)
✔ RouterTest: Testback end | #0 (0.02s)
✔ RouterTest: Testback end | #1 (0.01s)
- RouterTest: Testback end | #2Segmentation fault

If I run the unit tests by hand, one by one, specifying codecept run unit FolderHere everything works fine.
Before the update there was no segmentation fault. I tried multiple things, like updating phpunit, xdebug extension, checking yml etc... but nothing works.
Any clue?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions