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

mongodb / mongo-perl-bson / 114 / 12
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 24 Feb 2017 10:45PM UTC
Files 22
Run time 1s
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

24 Feb 2017 10:39PM UTC coverage: 86.167%. Remained the same
COVERAGE=1

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

Source Files on job 114.12 (COVERAGE=1)
  • Tree
  • List 0
  • Changed 12
  • Source Changed 1
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 114
  • Travis Job 114.12
  • 72259125 on github
  • Prev Job for COVERAGE=1 on master (#113.12)
  • Next Job for COVERAGE=1 on master (#116.12)
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