From cfb52edcd39fb7833a7ac9c123cf5fba68241fee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Tue, 17 Oct 2023 21:14:26 +0200
Subject: [PATCH] debug

---
 integrationtests/test.sh       | 2 +-
 integrationtests/test_cache.py | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/integrationtests/test.sh b/integrationtests/test.sh
index 9f8d003c..07293254 100755
--- a/integrationtests/test.sh
+++ b/integrationtests/test.sh
@@ -16,7 +16,7 @@ fi
 OUT=/tmp/crawler.output
 ls 
 cat pycaosdb.ini
-python3 -c "import caosdb; print('CaosDB Version:', caosdb.__version__)"
+python3 -c "import linkahead; print('LinkAhead Version:', linkahead.__version__)"
 rm -rf /tmp/caosdb_identifiable_cache.db
 set -e
 echo "Clearing database"
diff --git a/integrationtests/test_cache.py b/integrationtests/test_cache.py
index da1824e8..b6b72e0e 100644
--- a/integrationtests/test_cache.py
+++ b/integrationtests/test_cache.py
@@ -63,6 +63,9 @@ class CacheTest(unittest.TestCase):
 
         update = UpdateCache(db_file=self.cache)
         run_id = "a"
+        print(db.execute_query("FIND Record TestRecord", unique=True))
+        print(db.execute_query("FIND Record "+str(rec.id), unique=True))
+        print(db.execute_query("FIND entity with id="+str(rec.id), unique=True))
         update.insert(cont, run_id)
         assert len(update.get_updates(run_id)) == 1
 
-- 
GitLab