1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|emr] mark tests pending when mocked

This commit is contained in:
geemus 2011-11-09 10:26:12 -06:00
parent 2dc1bf98c7
commit 005ccd9189
2 changed files with 50 additions and 47 deletions

View file

@ -1,5 +1,7 @@
Shindo.tests('AWS::EMR | instance groups', ['aws', 'emr']) do Shindo.tests('AWS::EMR | instance groups', ['aws', 'emr']) do
pending if Fog.mocking?
@job_flow_name = "fog_job_flow_#{Time.now.to_f.to_s.gsub('.','')}" @job_flow_name = "fog_job_flow_#{Time.now.to_f.to_s.gsub('.','')}"
@job_flow_options = { @job_flow_options = {
@ -100,6 +102,5 @@ Shindo.tests('AWS::EMR | instance groups', ['aws', 'emr']) do
end end
AWS[:emr].terminate_job_flows('JobFlowIds' => [@job_flow_id]) AWS[:emr].terminate_job_flows('JobFlowIds' => [@job_flow_id])
end end

View file

@ -1,5 +1,7 @@
Shindo.tests('AWS::EMR | job flows', ['aws', 'emr']) do Shindo.tests('AWS::EMR | job flows', ['aws', 'emr']) do
pending if Fog.mocking?
@job_flow_name = "fog_job_flow_#{Time.now.to_f.to_s.gsub('.','')}" @job_flow_name = "fog_job_flow_#{Time.now.to_f.to_s.gsub('.','')}"
@job_flow_options = { @job_flow_options = {