Skip to content

Commit

Permalink
tests: adjust balloon test for newer x86 rootfs
Browse files Browse the repository at this point in the history
This commit adjusts the inflate amount in the `test_size_reduction`
balloon test to 160MiB so that we make sure the RSS drops below 100
MiB, making the assertions succeed.

Signed-off-by: George Pisaltu <gpl@amazon.com>
  • Loading branch information
georgepisaltu authored and alindima committed Jul 29, 2021
1 parent 8b18d26 commit 150dcd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_tests/functional/test_balloon.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def test_size_reduction(test_microvm_with_ssh_and_balloon, network_config):
time.sleep(5)

# Now inflate the balloon.
response = test_microvm.balloon.patch(amount_mib=40)
response = test_microvm.balloon.patch(amount_mib=160)
assert test_microvm.api_session.is_status_no_content(response.status_code)

# Check memory usage again.
Expand Down

0 comments on commit 150dcd5

Please sign in to comment.