summaryrefslogtreecommitdiffstats
path: root/features
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-06-01 12:44:46 +0000
committerintrigeri <intrigeri@boum.org>2016-06-01 12:44:46 +0000
commit5b7351dffb749544715c9e455dda13281cb4e755 (patch)
tree49eb47dee82805beb5baf574f6dfb6c6f8d3aa77 /features
parent93afa480789853f21179fd56bc9e00cab97f40c3 (diff)
Test suite: reserve some more memory for the core privileged processes before wiping memory.
This is a follow-up on 388355b, that missed vm.admin_reserve_kbytes for some reason. refs: #9707
Diffstat (limited to 'features')
-rw-r--r--features/step_definitions/erase_memory.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/step_definitions/erase_memory.rb b/features/step_definitions/erase_memory.rb
index 7257782..b5f3fcd 100644
--- a/features/step_definitions/erase_memory.rb
+++ b/features/step_definitions/erase_memory.rb
@@ -107,7 +107,7 @@ Given /^I fill the guest's memory with a known pattern(| without verifying)$/ do
# adjusting the OOM killer and memory overcommitment limitations.
kernel_mem_reserved_k = 64*1024 # Duplicated in /usr/share/initramfs-tools/scripts/init-premount/memory_wipe
kernel_mem_reserved_m = convert_to_MiB(kernel_mem_reserved_k, 'k')
- admin_mem_reserved_k = 128*1024
+ admin_mem_reserved_k = 128*1024 # Duplicated in /usr/share/initramfs-tools/scripts/init-premount/memory_wipe
admin_mem_reserved_m = convert_to_MiB(admin_mem_reserved_k, 'k')
kernel_mem_settings = [
# Let's avoid killing other random processes, and instead focus on