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

opentrials / api / 372 / 1
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 23 Aug 2016 04:38PM UTC
Files 24
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

23 Aug 2016 04:33PM UTC coverage: 93.567%. Remained the same
372.1

push

travis-ci

vitorbaptista
[#301] Fix bug where we tried to index 0 values

As we're filtering the entities on `bulkIndexEntities()` as well, we might end
up with no entities to index. If we try indexing it anyway (i.e. calling
`client.bulk({ body: [] })`, we'll get the error:

```
{ [Error: ElasticsearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.BytesArray@1]]
  status: 400,
  displayName: 'BadRequest',
  message: 'ElasticsearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.BytesArray@1]',
  body:
   { error: 'ElasticsearchParseException[Failed to derive xcontent from
org.elasticsearch.common.bytes.BytesArray@1]',
     status: 400 } }
```

This fixes that.

opentrials/opentrials#301

320 of 342 relevant lines covered (93.57%)

32.73 hits per line

Source Files on job 372.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 372
  • Travis Job 372.1
  • 6aee6715 on github
  • Prev Job for on master (#371.1)
  • Next Job for on master (#379.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