• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mongodb / mongo-perl-bson / 114
84%

Build:
DEFAULT BRANCH: master
Ran 24 Feb 2017 10:45PM UTC
Jobs 1
Files 22
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
114

push

travis-ci

xdg
PERL-694 Do not produce Math::BigFloat by BSON::Time

Tests failed on 32-bit Perl without 64-bit intergers:

    During encode_one, Don't know how to encode Math::BigFloat '151109408000' as an Int64.
    at /builddir/build/BUILD/BSON-v1.2.2/blib/lib/BSON.pm line 299.
    at t/legacy/10-bson.t line 385.

That was caused by BSON::Time returning Math::BigFloat instead of
Math::BigInt. And as consequence BSON::PP::_pack_int64() bailed out
because it does not support Math::BigFloat.

The issue was that Math::BigFloat->int() does not return Math::BigInt.
It still returns Math::BigFloat. This patch fixes by calling
as_number() that does so.

<https://jira.mongodb.org/browse/PERL-694>

Signed-off-by: Petr Písař <ppisar@redhat.com>

897 of 1041 relevant lines covered (86.17%)

5349.09 hits per line

Jobs
ID Job ID Ran Files Coverage
12 114.12 (COVERAGE=1) 24 Feb 2017 10:45PM UTC 0
86.17
Travis Job 114.12
Source Files on build 114
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #114
  • 72259125 on github
  • Prev Build on master (#113)
  • Next Build on master (#116)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc