Increase timeout for hub tests (#20764)

This commit is contained in:
Maxim Vafin authored and GitHub committed 2023-10-30 18:27:00 +04:00
1 parent 061d6b5b62
commit bc9b52ef7e
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1203,7 +1203,7 @@ jobs:
run:
shell: bash
runs-on: ${{ github.event_name == 'schedule' && 'ubuntu-20.04-16-cores' || 'ubuntu-20.04-8-cores'}}
timeout-minutes: ${{ github.event_name == 'schedule' && 300 || 5 }}
timeout-minutes: ${{ github.event_name == 'schedule' && 400 || 5 }}
# TODO: Switch back to self-hosted runners
# container:
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
@@ -1280,7 +1280,7 @@ jobs:
PyTorch_Models_Tests:
name: PyTorch Models tests
needs: Build
timeout-minutes: ${{ github.event_name == 'schedule' && 300 || 30 }}
timeout-minutes: ${{ github.event_name == 'schedule' && 400 || 30 }}
defaults:
run:
shell: bash
@@ -53,7 +53,7 @@ class TestTransformersModel(TestConvertModel):
from PIL import Image
import requests
self.infer_timeout = 1200
self.infer_timeout = 800
url = "http://images.cocodataset.org/val2017/000000039769.jpg"
self.image = Image.open(requests.get(url, stream=True).raw)