Skip to content

Commit

Permalink
tests: unset coverage for subprocesses
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Aug 27, 2016
1 parent d91425b commit cbe29ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/KdybyTests/Redis/AbstractRedisTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ protected function threadStress(\Closure $closure, $repeat = 100, $threads = 30)
$runner->outputHandlers[] = $collector;
$runner->threadCount = $threads;
$runner->paths = [$scriptFile];

putenv(\Tester\Environment::COVERAGE); // unset coverage fur subprocesses
$runner->run();

return $runner->getResults();
Expand Down

0 comments on commit cbe29ee

Please sign in to comment.