Skip to content

Commit

Permalink
Merge pull request #16 from ydb-platform/CLOUDDUTY-23951/FixQemuTimeouts
Browse files Browse the repository at this point in the history
CLOUDDUTY-23951 : Fix qemu timeouts.
  • Loading branch information
NewBediver authored Dec 29, 2023
2 parents 348c221 + 09b5371 commit d4a6dca
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit d4a6dca

Please sign in to comment.