Skip to content

Commit

Permalink
Skip test_webserver on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyifan committed Aug 20, 2020
1 parent 9deba9e commit 325a004
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/functional/exporters/testing/test_webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@
import pytest
import requests

pytestmark = pytest.mark.skipif(
os.name != "posix",
reason="Subprocess based approach is problematic on windows.",
)

from testplan.common.utils.process import kill_process

_TIMEOUT = 90
_TIMEOUT = 120
_REQUEST_TIMEOUT = 0.5
_URL_RE = re.compile(r"^\s*Local: (?P<url>[^\s]+)\s*$")

Expand Down

0 comments on commit 325a004

Please sign in to comment.