tests: properly skip pathod tests

This commit is contained in:
Maximilian Hils 2016-05-18 22:51:27 -07:00
parent f4c3c01266
commit a7b9e3033d
2 changed files with 4 additions and 4 deletions

View File

@ -211,7 +211,7 @@ class TestDaemon(_TestDaemon):
c.stop() c.stop()
@skip_windows @skip_windows
@pytest.mark.xfail @pytest.mark.skip(reason="race condition")
def test_wait_finish(self): def test_wait_finish(self):
c = pathoc.Pathoc( c = pathoc.Pathoc(
("127.0.0.1", self.d.port), ("127.0.0.1", self.d.port),

View File

@ -129,7 +129,7 @@ class CommonTests(tutils.DaemonTests):
l = self.d.last_log() l = self.d.last_log()
# FIXME: Other binary data elements # FIXME: Other binary data elements
@pytest.mark.skip @pytest.mark.skip(reason="race condition")
def test_sizelimit(self): def test_sizelimit(self):
r = self.get("200:b@1g") r = self.get("200:b@1g")
assert r.status_code == 800 assert r.status_code == 800
@ -143,7 +143,7 @@ class CommonTests(tutils.DaemonTests):
def test_info(self): def test_info(self):
assert tuple(self.d.info()["version"]) == version.IVERSION assert tuple(self.d.info()["version"]) == version.IVERSION
@pytest.mark.skip @pytest.mark.skip(reason="race condition")
def test_logs(self): def test_logs(self):
assert self.d.clear_log() assert self.d.clear_log()
assert not self.d.last_log() assert not self.d.last_log()
@ -223,7 +223,7 @@ class CommonTests(tutils.DaemonTests):
) )
assert r[1].payload == "test" assert r[1].payload == "test"
@pytest.mark.skip @pytest.mark.skip(reason="race condition")
def test_websocket_frame_reflect_error(self): def test_websocket_frame_reflect_error(self):
r, _ = self.pathoc( r, _ = self.pathoc(
["ws:/p/", "wf:-mask:knone:f'wf:b@10':i13,'a'"], ["ws:/p/", "wf:-mask:knone:f'wf:b@10':i13,'a'"],