Increase timeout for hub tests (#20764)
This commit is contained in:
parent
061d6b5b62
commit
bc9b52ef7e
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
@ -1203,7 +1203,7 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
runs-on: ${{ github.event_name == 'schedule' && 'ubuntu-20.04-16-cores' || 'ubuntu-20.04-8-cores'}}
|
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
|
# TODO: Switch back to self-hosted runners
|
||||||
# container:
|
# container:
|
||||||
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
# image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:20.04
|
||||||
@ -1280,7 +1280,7 @@ jobs:
|
|||||||
PyTorch_Models_Tests:
|
PyTorch_Models_Tests:
|
||||||
name: PyTorch Models tests
|
name: PyTorch Models tests
|
||||||
needs: Build
|
needs: Build
|
||||||
timeout-minutes: ${{ github.event_name == 'schedule' && 300 || 30 }}
|
timeout-minutes: ${{ github.event_name == 'schedule' && 400 || 30 }}
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -53,7 +53,7 @@ class TestTransformersModel(TestConvertModel):
|
|||||||
from PIL import Image
|
from PIL import Image
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
self.infer_timeout = 1200
|
self.infer_timeout = 800
|
||||||
|
|
||||||
url = "http://images.cocodataset.org/val2017/000000039769.jpg"
|
url = "http://images.cocodataset.org/val2017/000000039769.jpg"
|
||||||
self.image = Image.open(requests.get(url, stream=True).raw)
|
self.image = Image.open(requests.get(url, stream=True).raw)
|
||||||
|
Loading…
Reference in New Issue
Block a user