fluent/fluent-logger-php — pull request #9 by sotarok (2012-02-24 10:48:38+00:00)
Title: Fixed: Test fails sometimes on 'FluentTests\Logger\JsonPackerTest::testP...

Test fails sometime with:

PHPUnit 3.6.10 by Sebastian Bergmann.

Configuration read from fluent-logger-php/phpunit.xml.dist

ChainLogger: Fluent\Logger\FluentLogger failed fwrite retry: max retry count debug.test: {"hello":"world"}
...Entity::__construct(): unexpected time format `not int` specified.
.....Fluent\Logger\FluentLogger failed fwrite retry: max retry count debug.test: {"foo":"bar"}
.Mock_FluentLogger_a0d827b0 could not write message debug.test: {"foo":"bar"}
.Mock_FluentLogger_a0d827b0 connection aborted debug.test: {"foo":"bar"}
............F.

Time: 1 second, Memory: 9.50Mb

There was 1 failure:

1) FluentTests\Logger\JsonPackerTest::testPackReturnTime
Failed asserting that 1330079821 matches expected 1330079820.

fluent-logger-php/tests/Fluent/Logger/JsonPackerTest.php:49

FAILURES!
Tests: 24, Assertions: 34, Failures: 1.