diff --git a/tests/test_issues_pylib.py b/tests/test_issues_pylib.py
index 9115fdae8fee7909bb9dfd7249140f55c6f8905a..1e0158b8472a942d0ebdc4ec3148fc17b964e8be 100644
--- a/tests/test_issues_pylib.py
+++ b/tests/test_issues_pylib.py
@@ -199,6 +199,7 @@ def test_gitlab_com_120():
     assert len(rt1_retrieved.get_property(rt2.name).properties) == 0
 
 
+@pytest.mark.xfail(reason="We do not yet consider the role during retrieve")
 def test_gitlab_com_123():
     """
     Test that Entity Role is taken into account when retrieving entities with
@@ -220,6 +221,7 @@ def test_gitlab_com_123():
     file = db.File("TestUniquenessRecordType").retrieve()
     assert file.role == "File"
 
+
 def test_gitlab_com_127():
     """
     Test that the timeout option in pylinkahead.ini accepts separate