On Apr 19, 2011, at 12:18 AM, Sang-Min Park wrote: Hi,
> Hi all, > > Today I tried to run the available cucumber tests. > While the test for SBC passes, the test for EC2 and Mock just spins and eat > up memory. > Specifically, it hangs after this line: > > Scenario: Filtering images by > architecture # > ../tests/ec2/hardware_profiles.feature:23 > Given URI /api/hardware_profiles > exists # > /home/sang-min/dcloud/tests/ec2/step_definitions/api_steps.rb:1 > And authentification is required for this > URI # > /home/sang-min/dcloud/tests/ec2/step_definitions/images_steps.rb:1 > When client access this URI with > parameters: # > /home/sang-min/dcloud/tests/ec2/step_definitions/images_steps.rb:72 > | architecture | i386 | > Then client should get some > hardware_profiles # > /home/sang-min/dcloud/tests/ec2/step_definitions/images_steps.rb:78 I observed this behavior on particular Ruby versions: ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10] - stock Apple Ruby cucumber 0.9.2 => It stuck on hardware_profiles (Then client should get some hardware_profiles ) ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.6.0] - Ruby installed from RVM cucumber 0.9.2 => It works perfectly I can't explain this why it happens, but I suspect cucumber is doing something wrong or is linked in wrong way to some shared library. -- Michal > Is it just me? Before digging into further, I just wanted to confirm. > > Thanks! > > Sang-min ------------------------------------------------------ Michal Fojtik, [email protected] Deltacloud API: http://deltacloud.org
