Skip to content

Commit 9ba0862

Browse files
bchaliosmattschlebusch
authored andcommitted
test: reduce snapshot size in test
`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]>
1 parent 7ffbfd7 commit 9ba0862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration_tests/functional/test_snapshot_basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,9 @@ def test_5_inc_snapshots(
309309
# Testing matrix:
310310
# - Guest kernel: All supported ones
311311
# - Rootfs: Ubuntu 18.04
312-
# - Microvm: 2vCPU with 4096 MB RAM
312+
# - Microvm: 2vCPU with 512MB RAM
313313
# TODO: Multiple microvm sizes must be tested in the async pipeline.
314-
microvm_artifacts = ArtifactSet(artifacts.microvms(keyword="2vcpu_4096mb"))
314+
microvm_artifacts = ArtifactSet(artifacts.microvms(keyword="2vcpu_512mb"))
315315
kernel_artifacts = ArtifactSet(artifacts.kernels())
316316
disk_artifacts = ArtifactSet(artifacts.disks(keyword="ubuntu"))
317317

0 commit comments

Comments
 (0)