Skip to content

Commit b64a5e9

Browse files
committed
Merge pull request #188 from svrc-pivotal/mem_calc_compile_spec_fix
Add memory_limit context to compile tests This bug fix improves testing with the new Memory Calculator.
2 parents 71ab82a + 3ab58c2 commit b64a5e9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

spec/bin/compile_spec.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@
1616

1717
require 'spec_helper'
1818
require 'integration_helper'
19+
require 'memory_limit_helper'
1920

2021
describe 'compile script', :integration do # rubocop:disable RSpec/DescribeClass
2122
include_context 'integration_helper'
23+
include_context 'memory_limit_helper'
2224

2325
it 'returns zero if success',
24-
app_fixture: 'integration_valid' do
26+
app_fixture: 'integration_valid',
27+
memory_limit: '1024m' do
2528

2629
run("bin/compile #{app_dir} #{app_dir + '.cache'}") { |status| expect(status).to be_success }
2730
end

0 commit comments

Comments
 (0)