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:
parent
2dc1bf98c7
commit
005ccd9189
2 changed files with 50 additions and 47 deletions
|
@ -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
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue