Skip to content

Commit

Permalink
XMLBearTest: Increase XMLBearDTDUrlTest timeout
Browse files Browse the repository at this point in the history
XMLBearDTDUrlTest times out regular on Travis Windows.
Increase the timeout for that test to 120s.

Related to coala#2944
  • Loading branch information
jayvdb committed Aug 6, 2019
1 parent 7686f0b commit c3ae6bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/xml2/XMLBearTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
import unittest

from queue import Queue

import pytest

from bears.xml2.XMLBear import XMLBear
from coalib.testing.BearTestHelper import generate_skip_decorator
from coalib.testing.LocalBearTestHelper import verify_local_bear, execute_bear
Expand Down Expand Up @@ -81,6 +84,8 @@ def load_testdata(filename):
settings={'xml_dtd': dtd_url},
tempfile_kwargs={'suffix': '.xml'})

XMLBearDTDUrlTest = pytest.mark.timeout(120, XMLBearDTDUrlTest)

XMLBearRelaxNGTest = verify_local_bear(
XMLBear,
valid_files=(valid_xml_path,),
Expand Down

0 comments on commit c3ae6bc

Please sign in to comment.