Skip to content

Commit

Permalink
Raise the number of open files limit to work around PHPDBG failures
Browse files Browse the repository at this point in the history
Should fix infection#622 for time being.
  • Loading branch information
sanmai committed Feb 12, 2019
1 parent 92c66b9 commit fe2a959
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: php

sudo: false

env:
global:
- INFECTION_FLAGS='--threads=4 --min-msi=67 --min-covered-msi=75 --coverage=coverage --log-verbosity=none'
Expand All @@ -19,6 +17,7 @@ addons:
- expect

before_install:
- ulimit -n 65535
- source .ci/travis-functions.sh
- xdebug-disable

Expand Down
4 changes: 0 additions & 4 deletions tests/Console/E2ETest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ final class E2ETest extends TestCase

protected function setUp(): void
{
if (\PHP_SAPI === 'phpdbg') {
$this->markTestSkipped('Running this test on PHPDBG causes failures on Travis, see https://github.com/infection/infection/pull/622.');
}

// Without overcommit this test fails with `proc_open(): fork failed - Cannot allocate memory`
if (strpos(PHP_OS, 'Linux') === 0 &&
is_readable('/proc/sys/vm/overcommit_memory') &&
Expand Down

0 comments on commit fe2a959

Please sign in to comment.