Skip to content

Ministack: Free, open-source local AWS emulator - 60+ services, Terraform compatible, real databases. Free forever. MIT licensed.

Increase EC2 copy snapshot test timeout (#1233)

Ian Oberst3f9d4891b499
diff --git a/tests/test_ec2.py b/tests/test_ec2.py
index eacbd072..13f007b4 100644
--- a/tests/test_ec2.py
+++ b/tests/test_ec2.py
@@ -2732,7 +2732,7 @@ def test_ebs_copy_snapshot_respects_source_region():
method="POST",
)
with pytest.raises(urllib.error.HTTPError) as exc:
- urllib.request.urlopen(req, timeout=5)
+ urllib.request.urlopen(req, timeout=15)
assert exc.value.code == 400
assert b"InvalidSnapshot.NotFound" in exc.value.read()