Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLOUDDUTY-23951 : Fix qemu timeouts. #16

Merged
merged 1 commit into from
Dec 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cloud/storage/core/tools/testing/qemu/lib/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,10 @@ def _prepare_test_environment(ssh, virtio):

ssh("sudo mkdir -p {}".format(mount_path))
ssh("sudo mount -t virtiofs fs0 {} -o rw".format(mount_path),
timeout=60)
timeout=300)

# Sanity check
ssh("sudo touch {}/.test".format(mount_path), timeout=60)
ssh("sudo touch {}/.test".format(mount_path), timeout=300)
elif virtio == "blk":
# Use virtio-blk device
ssh("sudo lsblk")
Expand All @@ -369,10 +369,10 @@ def _prepare_test_environment(ssh, virtio):

ssh("sudo mkdir -p {}".format(mount_path))
ssh("sudo mount -t nfs -o proto=tcp,port={} {}:/ {}".format(nfs_port, QEMU_HOST, mount_path),
timeout=60)
timeout=300)

# Sanity check
ssh("sudo touch {}/.test".format(mount_path), timeout=60)
ssh("sudo touch {}/.test".format(mount_path), timeout=300)
elif virtio == "none":
# nothing to do
pass
Expand Down
Loading