Skip to content

Commit 3ab58c2

Browse files
author
Stuart Charlton
committed
Add memory_limit context to compile tests due to memory calculator -totMemory option that must be > 0
1 parent 71ab82a commit 3ab58c2

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)