mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
This should fix scenarios where `rake bootstrap` fails due to bundler failures and then some future command like `rake test:core` fails because there's missing gems. Fixes #5162
10 lines
320 B
Bash
Executable file
10 lines
320 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
# Since we are using the system jruby, we need to make sure our jvm process
|
|
# uses at least 1g of memory, If we don't do this we can get OOM issues when
|
|
# installing gems. See https://github.com/elastic/logstash/issues/5179
|
|
export JRUBY_OPTS="-J-Xmx1g"
|
|
|
|
rake test:install-default
|
|
rake test:integration
|