Skip to content
Snippets Groups Projects
Verified Commit 992db2db authored by Daniel Hornung's avatar Daniel Hornung
Browse files

Removed xfail from test.

parent 20aa7102
No related branches found
No related tags found
No related merge requests found
Pipeline #42768 passed
...@@ -63,16 +63,16 @@ def teardown_function(function): ...@@ -63,16 +63,16 @@ def teardown_function(function):
"""Deleting entities again.""" """Deleting entities again."""
setup_module() setup_module()
# ########################### Issue tests start here ##################### # ########################### Issue tests start here #####################
@pytest.mark.xfail(reason="Entities with many, long, properties: " # @pytest.mark.xfail(reason="Entities with many, long, properties: "
"https://gitlab.com/linkahead/linkahead-pylib/-/issues/108") # "https://gitlab.com/linkahead/linkahead-pylib/-/issues/108")
def test_gitlab_com_108(): def test_gitlab_com_108():
"""Create RT and a list of properties, then insert and retrieve. """Create RT and a list of properties, then insert and retrieve.
This is another instance of bugs caused by caosdb/src/caosdb-mysqlbackend#48 This is another instance of bugs caused by caosdb/src/caosdb-mysqlbackend#48, but was originally
reported as https://gitlab.com/linkahead/linkahead-pylib/-/issues/108
""" """
cont = db.Container() cont = db.Container()
long = "Long" * 50 long = "Long" * 50
...@@ -84,7 +84,9 @@ def test_gitlab_com_108(): ...@@ -84,7 +84,9 @@ def test_gitlab_com_108():
cont.append(first_RT) cont.append(first_RT)
cont.insert() cont.insert()
cont.retrieve() cont.retrieve()
print("retrieved")
# Incidentally, the following lines seem to trigger another, unrelated problem # Incidentally, the following lines seem to trigger another, unrelated problem
tests = db.execute_query("FIND ENTITY test*", cache=False) tests = db.execute_query("FIND ENTITY test*", cache=False)
tests.delete() tests.delete()
print("deleted")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment