Hi Michal,

 

It’s not just the mock tests failing, DC won’t even start anymore.

When I revert your commits, it works fine again.

The error I see when starting DC is:

 

d:\sources\OSS\cloud\deltacloud-core\server>bin\deltacloudd -i mock -f 
cimi,deltacloud

Starting Deltacloud API :: mock :: http://localhost:3001/api

[33m[DEPRECATION] Defaulting to json library for json parsing. Please consider 
using multi_json library for the greatest performance/flexibility.[0m

d:/sources/OSS/cloud/deltacloud-core/server/lib/deltacloud/helpers/blob_stream_helper.rb:124:in
 `<module:Thin>': cannot load such file -- thin/request (LoadErro

r)

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/deltacloud/helpers/blob_stream_helper.rb:123:in
 `<top (required)>'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/deltacloud/drivers/google/google_driver.rb:17:in
 `require_relative'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/deltacloud/drivers/google/google_driver.rb:17:in
 `<top (required)>'

 

Travis in today’s PRs only showed the deprecation warning, so could be Windows 
specific?

 

Regards,

Dies Koper

 

 

From: Koper, Dies [mailto:di...@fast.au.fujitsu.com] 
Sent: Monday, 27 May 2013 8:26 PM
To: dev@deltacloud.apache.org; Michal Fojtik
Subject: RE: [deltacloud-core] Switching to use Bundler in development 
environment. (#8)

 

Hi Michal,

 

After pulling this in and doing a bundle install, mock tests are failing with:

 

d:\sources\OSS\cloud\deltacloud-core\server\tests>rake test:drivers:mock

(in d:/sources/OSS/cloud/deltacloud-core/server)

[33m[DEPRECATION] Defaulting to json library for json parsing. Please consider 
using multi_json library for the greatest performance/f

lexibility.[0m

d:/sources/OSS/cloud/deltacloud-core/server/lib/deltacloud/helpers/blob_stream_helper.rb:40:in
 `<class:DeferrableBody>': uninitialized

constant DeferrableBody::EventMachine (NameError)

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/deltacloud/helpers/blob_stream_helper.rb:39:in
 `<top (required)>'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/deltacloud/drivers/google/google_driver.rb:17:in
 `require_relative'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/deltacloud/drivers/google/google_driver.rb:17:in
 `<top (required)>'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/initializers/drivers_initialize.rb:21:in
 `require_relative'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/initializers/drivers_initialize.rb:21:in
 `block in <top (required)>'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/initializers/drivers_initialize.rb:20:in
 `each_key'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/initializers/drivers_initialize.rb:20:in
 `<top (required)>'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/initialize.rb:31:in 
`require_relative'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/lib/initialize.rb:31:in `<top 
(required)>'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/tests/test_helper.rb:5:in 
`require_relative'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/tests/test_helper.rb:5:in `<top 
(required)>'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/tests/drivers/mock/common.rb:1:in 
`require_relative'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/tests/drivers/mock/common.rb:1:in 
`<top (required)>'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/tests/drivers/mock/buckets_test.rb:4:in
 `require_relative'

        from 
d:/sources/OSS/cloud/deltacloud-core/server/tests/drivers/mock/buckets_test.rb:4:in
 `<top (required)>'

 

Do I need to run some other command to make things work again?

 

Regards,

Dies Koper

 

 

From: Michal Fojtik [mailto:notificati...@github.com] 
Sent: Monday, 27 May 2013 7:05 PM
To: deltacloud/deltacloud-core
Subject: Re: [deltacloud-core] Switching to use Bundler in development 
environment. (#8)

 

Sorry for late push :-) I forgot about this patch. Just pushed, hope it does 
not cause any troubles :)

—
Reply to this email directly or view it on GitHub 
<https://github.com/deltacloud/deltacloud-core/pull/8#issuecomment-18489161> 
.Image removed by sender.

Reply via email to