Skip to content

Commit

Permalink
Increase timeout for hub tests (openvinotoolkit#20764)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvafin authored and allnes committed Nov 23, 2023
1 parent b99e6eb commit 7d59ce6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/model_hub_tests/torch_tests/test_hf_transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def setup_class(self):
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)
Expand Down

0 comments on commit 7d59ce6

Please sign in to comment.