Skip to content

Commit 05d859b

Browse files
committed
[integ-tests] Fix test_ebs_snapshot volume size
Fix integration test with test_ebs_snapshot, for alinux2, the volume size is 9.7G, for other OSs, it is 9.8G Signed-off-by: chenwany <[email protected]>
1 parent b5967ec commit 05d859b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration-tests/tests/storage/test_ebs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ def test_ebs_snapshot(
6868

6969
mount_dir = "/" + mount_dir
7070
scheduler_commands = get_scheduler_commands(scheduler, remote_command_executor)
71-
_test_ebs_correctly_mounted(remote_command_executor, mount_dir, volume_size="9.8")
71+
# In alinux2 the volume is rounded smaller (9.7G)
72+
_test_ebs_correctly_mounted(remote_command_executor, mount_dir, volume_size="9.[7,8]")
7273
_test_ebs_resize(remote_command_executor, mount_dir, volume_size=volume_size)
7374
_test_ebs_correctly_shared(remote_command_executor, mount_dir, scheduler_commands)
7475

0 commit comments

Comments
 (0)