deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject Re: Misc fixes
Date Thu, 05 May 2011 09:43:09 GMT
On May 5, 2011, at 12:42 AM, lutter@redhat.com wrote:

Hi,

> 
> These patches address a variety of small problems, modtly to do with load
> balancers. In particular, they address Jira issues 36 and 37 filed by
> clalancette.

ACK

Patches 1-3 and 5 applied cleanly on HEAD, unfortunately patch 4/5 throws
this error for me:

mfojtik@firefly ~/code/core/server $ git am ~/Desktop/patches/\[PATCH\ 4_5\]\ load_balancers_\
advertise\ the\ \'register\'\ action.eml
Applying: load_balancers: advertise the 'register' action
error: patch failed: server/views/load_balancers/show.xml.haml:3
error: server/views/load_balancers/show.xml.haml: patch does not apply
Patch failed at 0001 load_balancers: advertise the 'register' action

Dunno why, after brief inspection I added action line manually and it works.

> 
> I haven't been able to run all tests on them - my local setup seems fairly
> busted for tests. Unclear, why.

To install all necessary gems for Cucumber you can use 'bundle install' in
server directory. Normal unit tests should work without that (but you'll need
to install 'vcr' and 'webmock' gem).

rake test:mock
66 tests, 0 assertions, 0 failures, 0 errors

rake test:rackspace
28 tests, 0 assertions, 0 failures, 0 errors


  -- Michal

------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org


Mime
View raw message