Tests: more time for the web offline launches and the icon review server
On a busy CI machine (several fork jobs under gVisor at once) a web offline launch took over 90 s and the icon review server took over ~2 s to answer. Launches now get 240 s and one retry; the review server gets up to 60 s to start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
dc40f051b1
commit
a587d3339e
2 files changed
+24
-11
No files matched your search
@@ -84,7 +84,9 @@ class IconExportTest(unittest.TestCase):
|
||||
stdout=subprocess.DEVNULL, stderr=subprocess.PIPE)
|
||||
try:
|
||||
url = 'http://127.0.0.1:%d' % port
|
||||
for attempt in range(100):
|
||||
# Up to a minute: CI machines can be busy enough that the server starts slowly.
|
||||
deadline = time.monotonic() + 60
|
||||
while time.monotonic() < deadline:
|
||||
try:
|
||||
with urllib.request.urlopen(url + '/api/review', timeout=1) as response:
|
||||
base = json.load(response)
|
||||
|
||||
Reference in new issue
Block a user