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

BytemarkHosting / bytemark-client / 33
55%
master: 55%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 31 Aug 2016 02:33PM UTC
Jobs 1
Files 53
Run time 8s
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
33

push

travis-ci

jamesfcarter
Merge branch 'improved-400s' into 'develop'

Improve output when an HTTP 400 is received.

BigV outputs some pretty strange, non-end-user-friendly messages with its 400s in many cases. 

This commit tries to friendly them up some. For example, if you tried to create a vm called "23" with a ridiculous amount of memory and a non-existent hwprofile, you would see: 
```
name:
    is invalid
    is too short (minimum is 3 characters)
memory:
    is not included in the list
hardware_profile:
    is not included in the list
```

Now you'd see
```
• Hardware profile is invalid
• Memory amount is invalid
• Name is too short (minimum is 3 characters)
```

Basically, it attempts to clean up the weird output from the brain ("is not included in the list" on a number is a particular weird one.) and present only the information that isn't kind of duplicated (if it's telling us the name is too short, we kind of already know it's invalid). Ideally the brain would give us better output in the first place.. I have one bug for that ( bigv/bigv-brain#40 ) regarding memory, I think I'll make another for name validation.

See merge request !5

1984 of 4198 relevant lines covered (47.26%)

0.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33.1 31 Aug 2016 02:33PM UTC 0
47.26
Travis Job 33.1
Source Files on build 33
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #33
  • ecadfdc5 on github
  • Prev Build on develop (#27)
  • Next Build on develop (#34)
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