Sha256: 6eb7b2cd3cd703049c91129b0bb9d635582c95dd12e6a392f558be7036751e40

Contents?: true

Size: 622 Bytes

Versions: 3

Compression:

Stored size: 622 Bytes

Contents

describe Elasticity::SetupHadoopDebuggingStep do

  subject do
    Elasticity::SetupHadoopDebuggingStep.new('us-east-1')
  end

  it 'should be a CustomJarStep' do
    expect(subject).to be_a(Elasticity::CustomJarStep)
  end

  it 'should set the appropriate fields' do
    expect(subject.name).to eql('Elasticity Setup Hadoop Debugging')
    expect(subject.jar).to eql('s3://us-east-1.elasticmapreduce/libs/script-runner/script-runner.jar')
    expect(subject.arguments).to eql(['s3://us-east-1.elasticmapreduce/libs/state-pusher/0.1/fetch'])
    expect(subject.action_on_failure).to eql('TERMINATE_JOB_FLOW')
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
elasticity-6.0.14 spec/lib/elasticity/setup_hadoop_debugging_step_spec.rb
elasticity-6.0.13 spec/lib/elasticity/setup_hadoop_debugging_step_spec.rb
elasticity-6.0.12 spec/lib/elasticity/setup_hadoop_debugging_step_spec.rb