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-10-19 13:33:57 +0200
commit8f44a95e7626e67cda3e3a05c3fa1a9298c02809 (patch)
tree4e851235034510083d78d7434aea09eca176ccad
parent8e3e0588037f9601dbb527c4302f908380c20e5f (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()