<commit_before>require 'spec_helper'

describe 'deployment job control' do
  include IntegrationExampleGroup

  before do
    deploy_simple
  end

  it 'restarts a job' do
    expect(run_bosh('restart foobar 0')).to match %r{foobar/0 has been restarted}
  end

  it 'recreates a job' do
    expect(run_bosh('recreate foobar 1')).to match %r{foobar/1 has been recreated}
  end

  it 'stops and starts a job' do
    expect(run_bosh('stop foobar 2')).to match %r{foobar/2 has been stopped}
    expect(run_bosh('start foobar 2')).to match %r{foobar/2 has been started}
  end
end<commit_msg>Revert "Limit concurrent integration specs on travis to 12"<commit_after>require 'spec_helper'

describe 'deployment job control' do
  include IntegrationExampleGroup

  before do
    deploy_simple
  end

  it 'restarts a job' do
    expect(run_bosh('restart foobar 0')).to match %r{foobar/0 has been restarted}
  end

  it 'recreates a job' do
    expect(run_bosh('recreate foobar 1')).to match %r{foobar/1 has been recreated}
  end
end
{'fraction_non_alphanumeric': 0.08993157380254155, 'fraction_numerical': 0.013685239491691105, 'mean_word_length': 4.12, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2752868', 'n_tokens_mistral': 376, 'n_tokens_neox': 346, 'n_words': 115}