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

containous / flaeg / 221 / 2
90%
master: 90%

Build:
DEFAULT BRANCH: master
Ran 15 Dec 2018 04:27PM UTC
Files 2
Run time 0s
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

01 Dec 2018 09:05PM UTC coverage: 84.638% (-5.5%) from 90.103%
221.2

cron

travis-ci

ldez
use ParseInt instead of Atoi for parsing durations (#52)

Flaeg is failing to deserialize durations with values >= to 2^32 on 32 bits architectures.
This is caused by the usage of `Atoi` to parse duration, which returns an `int` not an `int64`.

During a JSON unmarshall of a duration for values >= to 2^32, Atoi will
return an error and flaeg will try to parse the value as a string, which
is going to fail too, causing the unmarshalling to fail.

Using `ParseInt(s, 10, 64)` fixes the problem, as it works on an int64.

573 of 677 relevant lines covered (84.64%)

47.94 hits per line

Source Files on job 221.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 197
  • Travis Job 221.2
  • c93d194b on github
  • Prev Job for on master (#220.1)
  • Next Job for on master (#222.1)
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