Updated python-libjuju, and fixed connection error detection. (#131)
We no longer need to attach to the Monitor class, as exceptions now get propagated. Added a hook to set exit_code to 1 in the cases where we have an unhandled Exception.
Updated with libjuju 0.4.1 release binary.
Got rid of spelunking in logs for connection failure in connection_test -- not reliable enough.
It also makes things a lot nicer in general. External tools calling matrix still have to include a timeout, because the existing matrix timeout only covered hangs during a test run; hangs during setup or teardown could still lead to a hung matrix. And External tools with a timeout still have to worry about cleaning up matrix models; having an internal timeout cleanup that only helps in some cases isn't necessary.
This also simplifies the code, and removes a command line param. A win all around, I think.