Unverified Commit 27764a17 authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Skip flaky earth gif test on OSS CI (#8480)

parent b09b3f6c
......@@ -10,7 +10,7 @@ import pytest
import requests
import torch
import torchvision.transforms.functional as F
from common_utils import assert_equal, needs_cuda
from common_utils import assert_equal, IN_OSS_CI, needs_cuda
from PIL import __version__ as PILLOW_VERSION, Image, ImageOps, ImageSequence
from torchvision.io.image import (
_read_png_16,
......@@ -569,6 +569,9 @@ def test_decode_gif(tmpdir, name, scripted):
path = tmpdir / f"{name}.gif"
if name == "earth":
if IN_OSS_CI:
# TODO: Fix this... one day.
pytest.skip("Skipping 'earth' test as it's flaky on OSS CI")
url = "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"
else:
url = f"https://sourceforge.net/p/giflib/code/ci/master/tree/pic/{name}.gif?format=raw"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment