Merge ~sylvain-pineau/plainbox-provider-checkbox:fix-1844477 into plainbox-provider-checkbox:master

Proposed by Sylvain Pineau
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 10d2cec8f7e27e7f09818b27e80bcf0a073ef15d
Merged at revision: c8cefda883e251400b6ad1822318be8c14f6cefd
Proposed branch: ~sylvain-pineau/plainbox-provider-checkbox:fix-1844477
Merge into: plainbox-provider-checkbox:master
Diff against target: 13 lines (+1/-1)
1 file modified
bin/storage_test.py (+1/-1)
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Review via email: mp+373974@code.launchpad.net

Description of the change

Divide by 4 the amount of space allowed to run bonnie++, /2 does not work all the time especially on core

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

self-approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/bin/storage_test.py b/bin/storage_test.py
2index 3dbc87f..e6eecfd 100755
3--- a/bin/storage_test.py
4+++ b/bin/storage_test.py
5@@ -78,7 +78,7 @@ def run_bonnie(test_dir, user='root'):
6 free = free_space(test_dir)
7 print('{}MB of free space avaialble'.format(free))
8 if (force_mem_mb * 2) > free:
9- force_mem_mb = free / 2
10+ force_mem_mb = free / 4
11 print('Forcing memory setting to {}MB'.format(force_mem_mb))
12 cmd = 'bonnie++ -d {} -u {} -r {}'.format(test_dir, user, force_mem_mb)
13 print('+', cmd, flush=True)

Subscribers

People subscribed via source and target branches