[test] Give vagrant boxes 2gb of ram

This lets them run our tests without oomkiller getting angry.
This commit is contained in:
Nik Everett 2015-09-24 10:04:59 -04:00
parent d121550a4f
commit 3d72ebd876
1 changed files with 4 additions and 0 deletions

4
Vagrantfile vendored
View File

@ -83,6 +83,10 @@ Vagrant.configure(2) do |config|
# the elasticsearch project called vagrant.... # the elasticsearch project called vagrant....
config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.synced_folder ".", "/elasticsearch" config.vm.synced_folder ".", "/elasticsearch"
config.vm.provider "virtualbox" do |v|
# Give the boxes 2GB so they can run our tests if they have to.
v.memory = 2048
end
if Vagrant.has_plugin?("vagrant-cachier") if Vagrant.has_plugin?("vagrant-cachier")
config.cache.scope = :box config.cache.scope = :box
end end