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

notanumber / xapian-haystack / 198
98%

Build:
DEFAULT BRANCH: master
Ran 11 Mar 2018 08:53AM UTC
Jobs 10
Files 7
Run time 23min
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
198

cron

travis-ci

jorgecarleitao
Fixing untrustable os.path.exists

As per https://stackoverflow.com/a/3112717/1067833,
os.path.exists sometimes delivers a wrong value. These are corner
cases, but mine is exactly one:

I run xapian-haystack in a multiprocess environment (indexing and
django server), on an LXC container, which has its mount probably
mounted from an NFS server (I have no control/information over it).

This corner case results the os.path.exists give `True` for one
process and `False` for another, resulting in the exception I
handle with this patch.

912 of 916 relevant lines covered (99.56%)

9.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 198.1 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.4.1) 11 Mar 2018 08:53AM UTC 0
99.02
Travis Job 198.1
2 198.2 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1) 11 Mar 2018 08:54AM UTC 0
99.02
Travis Job 198.2
4 198.4 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.3.3) 11 Mar 2018 08:58AM UTC 0
99.13
Travis Job 198.4
5 198.5 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.3.3) 11 Mar 2018 08:56AM UTC 0
99.13
Travis Job 198.5
7 198.7 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.4.1) 11 Mar 2018 09:01AM UTC 0
99.02
Travis Job 198.7
8 198.8 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.4.1) 11 Mar 2018 09:03AM UTC 0
99.02
Travis Job 198.8
10 198.10 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.3.3) 11 Mar 2018 09:10AM UTC 0
99.13
Travis Job 198.10
11 198.11 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.3.3) 11 Mar 2018 09:14AM UTC 0
99.13
Travis Job 198.11
13 198.13 (DJANGO_VERSION=1.10 XAPIAN_VERSION=1.2.24) 11 Mar 2018 09:14AM UTC 0
99.34
Travis Job 198.13
14 198.14 (DJANGO_VERSION=1.9 XAPIAN_VERSION=1.2.24) 11 Mar 2018 09:17AM UTC 0
99.34
Travis Job 198.14
Source Files on build 198
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #198
  • 3c322a95 on github
  • Prev Build on master (#196)
  • Next Build on master (#199)
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