summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-10-19 13:33:41 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-11-18 17:14:52 +0100
commit10a486735977ca141c5d6b3d0a3a59956ad274a9 (patch)
tree5f21e5241c00eee626b31c28c701460d833fa1b6
parent6703d65bc91054d512fccb57a4275b30319a88d7 (diff)
Allow pyagl CAN test test_write_wo_auth to xfail
Until the root cause can be traced down, xfail the write_wo_auth test. Reason: we do execute pyagl multiple times and this will always fail on the 2nd invocation. This is a bug in the appfw and is tracked in Bug-AGL: SPEC-3648 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I9d5e6058c8ab9dd2efec461c551c884230d1bb4b
-rw-r--r--pyagl/tests/test_can.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyagl/tests/test_can.py b/pyagl/tests/test_can.py
index d84fec3..1a9544f 100644
--- a/pyagl/tests/test_can.py
+++ b/pyagl/tests/test_can.py
@@ -131,7 +131,7 @@ async def test_get_all_messages(event_loop, service: cs):
resp = await service.afbresponse()
assert resp.status == 'success', f'.get() failed with message {m}'
-
+@pytest.mark.xfail(reason='This test can fail on the 2nd invocation. See SPEC-3648. XFAIL until root-cause if found.')
async def test_write_wo_auth(event_loop, service: cs):
msgid = await service.write({'signal_name': 'engine.speed', 'signal_value': 12})
resp = await service.afbresponse()