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

xapi-project / sm / 151 / 1
47%
master: 47%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2015 06:54PM UTC
Files 76
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

19 Aug 2015 06:44PM UTC coverage: 31.629% (-0.02%) from 31.649%
151.1

push

travis-ci

germanop
Improving readcache check for file based SRs

The check introduced with commit 4be47e0 happens in the
load function.
This means that it has to be done for the load function
of every file based SR.

Putting the check in the FileSR constructor will make
it available for every derived class, without the need
to add the check for every new SR (as it happened to
me while playing with OCFSSR)

The initial version was using "super" instead of an explicit
call to SR.SR.__init__ but the former proved to be unreliable
where there are many circular imports, failing to identify
objects of the same type just because their id was changed
in subsequent import calls.

Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@citrix.com>

GitHub: closes xapi-project/sm#237

6130 of 19381 relevant lines covered (31.63%)

0.32 hits per line

Source Files on job 151.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 151
  • Travis Job 151.1
  • 441a6f93 on github
  • Prev Job for on master (#150.1)
  • Next Job for on master (#154.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