You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2014/12/11 12:18:13 UTC

[jira] [Commented] (AVRO-1621) PHP: FloatIntEncodingTest fails for NAN

    [ https://issues.apache.org/jira/browse/AVRO-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14242392#comment-14242392 ] 

Tom White commented on AVRO-1621:
---------------------------------

{noformat}
+ cd lang/php
+ ./build.sh test
PHPUnit 3.7.28 by Sebastian Bergmann.

...............................................................  63 / 404 ( 15%)
.......................................III..................... 126 / 404 ( 31%)
............................................................... 189 / 404 ( 46%)
............................................................... 252 / 404 ( 62%)
........................................................F..F... 315 / 404 ( 77%)
............................................................... 378 / 404 ( 93%)
..........................

Time: 264 ms, Memory: 5.50Mb

There were 2 failures:

1) FloatIntEncodingTest::test_encoding_special_values with data set #0 ('double', NAN, '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '?')
DECODED BITS
 expected: 'NaN'
    given: 'NaN'
Failed asserting that NAN matches expected NAN.

/root/avro-trunk/lang/php/test/FloatIntEncodingTest.php:230
/root/avro-trunk/lang/php/test/FloatIntEncodingTest.php:110

2) FloatIntEncodingTest::test_encoding_special_values with data set #3 ('float', NAN, '' . "\0" . '' . "\0" . '?')
DECODED BITS
 expected: 'NaN'
    given: 'NaN'
Failed asserting that NAN matches expected NAN.

/root/avro-trunk/lang/php/test/FloatIntEncodingTest.php:230
/root/avro-trunk/lang/php/test/FloatIntEncodingTest.php:110

FAILURES!
Tests: 404, Assertions: 760, Failures: 2, Incomplete: 3.
{noformat}

> PHP: FloatIntEncodingTest fails for NAN
> ---------------------------------------
>
>                 Key: AVRO-1621
>                 URL: https://issues.apache.org/jira/browse/AVRO-1621
>             Project: Avro
>          Issue Type: Bug
>          Components: php
>    Affects Versions: 1.7.7
>            Reporter: Tom White
>
> This seems to be a problem with the encoding. See first comment for the failure.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)