From 10a486735977ca141c5d6b3d0a3a59956ad274a9 Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Mon, 19 Oct 2020 13:33:41 +0200 Subject: 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 Change-Id: I9d5e6058c8ab9dd2efec461c551c884230d1bb4b --- pyagl/tests/test_can.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit 1.2.3-korg