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

opentrials / api / 372
92%

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

pending completion
372

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

Jobs
ID Job ID Ran Files Coverage
1 372.1 23 Aug 2016 04:38PM UTC 0
93.57
Travis Job 372.1
Source Files on build 372
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #372
  • 6aee6715 on github
  • Prev Build on master (#371)
  • Next Build on master (#379)
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