Skip to content

Commit

Permalink
test: reduce snapshot size in test
Browse files Browse the repository at this point in the history
`test_5_inc_snapshots` test has been intermittently failing due to
timeouts. The reason is that the snapshot we're taking is quite big and
causes the test to reach its timeout.

However, the size of the VM does not really matter in what we are
testing. This commit reduces the memory size of the VM from 4GB to 512MB
in order to avoid timeouts.

Signed-off-by: Babis Chalios <[email protected]>
  • Loading branch information
bchalios authored and mattschlebusch committed Oct 31, 2022
1 parent 7ffbfd7 commit 9ba0862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration_tests/functional/test_snapshot_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@ def test_5_inc_snapshots(
# Testing matrix:
# - Guest kernel: All supported ones
# - Rootfs: Ubuntu 18.04
# - Microvm: 2vCPU with 4096 MB RAM
# - Microvm: 2vCPU with 512MB RAM
# TODO: Multiple microvm sizes must be tested in the async pipeline.
microvm_artifacts = ArtifactSet(artifacts.microvms(keyword="2vcpu_4096mb"))
microvm_artifacts = ArtifactSet(artifacts.microvms(keyword="2vcpu_512mb"))
kernel_artifacts = ArtifactSet(artifacts.kernels())
disk_artifacts = ArtifactSet(artifacts.disks(keyword="ubuntu"))

Expand Down

0 comments on commit 9ba0862

Please sign in to comment.