Here are a few more fixes for CIMI that we uncovered today in
testing. There's still quite a bit of trouble with running against other
providers.

One of the sources of headaches is when a provider uses relative URI's
everywhere - I added a post helper to make sure we properly translate from
relative to absolute URI. We need to do that for places where we directly
call RestClient.put and RestClient.delete, too.

There's also at least one place where we construct a URL in test_helper.rb
(in teardown constructing the stop URL for a machine)

The tests also run very slowly - one reason is that we do not cache
anything; we especially hit the CEP a lot, which with the network I am on
is painful (2-3s for each CEP request) We should try and make the cep
method in test_helper cache the response (one for xml, one for json) to
speed up the tests.

Other than that, things are looking good ;)

David

Reply via email to