openshift/os-client-tools — pull request #97 by fotioslindiakos (2012-07-11 21:14:40+00:00)
Title: BZ836483

Fixes for this bug and other problems I came across.

This appears to be a few different issues, but I think I got them all. I ran across some other issues that may or may not have been related. Here they all are

1. **The broker was sending nil responses** c34e446b37889f474d023ec7bc85d0335f682487
I was able to get this error intermittently, it appears sometimes the response from the broker had a nil body. Couldn't figure out a specific cause.

Since this part of the logic was just for debugging purposes, I wrapped a check around it. If there are other parts of the code where this nil response causes error, they should handle it appropriately.

2. **"ArgumentError: too few arguments"** 68197f3b18fd9c94df866ac6dc0dd3401a386a3c
This was caused by the way rhc-chk was rendering error messages. It's been fixed.

3. **Some test results were confusing** 2e33f7879c63ee008b5f5decc6e0392fca87b4b5
Some tests were failing because they claimed you needed an account on the server, when in fact you needed a domain. I added another function to verify a domain exists.