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

HEPData / hepdata / 1172
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 15 Sep 2020 04:14PM UTC
Jobs 1
Files 66
Run time 7s
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
1172

push

travis-ci

alisonrclarke
Fix 404s on elasticsearch

Fixes #244. `get_record_contents` was trying to get records from
elasticsearch even when the submission was not finalised; the call to ES
was generating 404s if the doc did not exist.

 * For cases where we have a submission object when calling
   get_record_contents, get_record_contents now accepts a status
   argument and checks for soverall_status=finisheds before searching
   ES.
 * ES `get_record` method now uses a search query by id rather than
   directly getting the document, so that ES returns an empty result
   set rather than a 404.

2460 of 3011 relevant lines covered (81.7%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1172.1 15 Sep 2020 04:14PM UTC 0
81.7
Travis Job 1172.1
Source Files on build 1172
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1172
  • 4bd2ff1d on github
  • Next Build on fix/es-404s (#1174)
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