Skip to content

Commit 1b9a55a

Browse files
authored
Merge pull request #696 from integer32llc/maint
Increase default memory limits
2 parents d03009c + bc0124b commit 1b9a55a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

tests/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22
source "https://rubygems.org"
3-
ruby "2.7.2"
3+
ruby "2.7.3"
44

55
gem "capybara"
66
gem "rspec"

tests/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ DEPENDENCIES
6464
webdrivers
6565

6666
RUBY VERSION
67-
ruby 2.7.2p137
67+
ruby 2.7.3p183
6868

6969
BUNDLED WITH
7070
2.1.4

tests/spec/features/highlighting_error_output_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
scenario "errors are highlighted" do
1212
within('.output-stderr') do
13-
expect(page).to have_css '.error', text: 'wrong number of type arguments'
13+
expect(page).to have_css '.error', text: '1 type argument but 2 type arguments were supplied'
1414
expect(page).to have_css '.error', text: 'aborting due to 2 previous errors'
1515
expect(page).to have_css '.error', text: /Could not compile `playground`/i
1616
end

ui/src/sandbox.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,8 @@ fn basic_secure_docker_command() -> Command {
447447
"--security-opt=no-new-privileges",
448448
"--workdir", "/playground",
449449
"--net", "none",
450-
"--memory", "256m",
451-
"--memory-swap", "320m",
450+
"--memory", "512m",
451+
"--memory-swap", "640m",
452452
"--env", format!("PLAYGROUND_TIMEOUT={}", DOCKER_PROCESS_TIMEOUT_SOFT.as_secs()),
453453
);
454454

0 commit comments

Comments
 (0)