goerz / gc3pie

Automatically exported from code.google.com/p/gc3pie
0 stars 0 forks source link

Core inconsistent behavior in __submit_application() #386

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Core.__submit_application() behave differently if you only have one available 
resource or if you have more than one.

If you have more than 1 resource, in fact, a get_resource_status() is called 
for each one of them during the submission, but if you only have one resource 
get_resource_status() is not called.

The problem is that we cannot fix this inconsistency right now because we the 
tests for the various backends rely on this behaviour, and will raise an error 
when you call get_resource_status().

Original issue reported on code.google.com by antonio....@gmail.com on 1 Feb 2013 at 11:26