Skip to content

Commit 3d8829a

Browse files
committed
AQL cache is can only be changed by admin.
1 parent 3653cfb commit 3d8829a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_aql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def test_cache_plan_management(db, bad_db, col, docs, db_version):
438438
assert err.value.error_code == FORBIDDEN
439439

440440

441-
def test_aql_cache_management(db, bad_db):
441+
def test_aql_cache_management(db, sys_db, bad_db):
442442
# Test get AQL cache properties
443443
properties = db.aql.cache.properties()
444444
assert "mode" in properties
@@ -452,7 +452,7 @@ def test_aql_cache_management(db, bad_db):
452452
bad_db.aql.cache.properties()
453453

454454
# Test get AQL cache configure properties
455-
properties = db.aql.cache.configure(
455+
properties = sys_db.aql.cache.configure(
456456
mode="on",
457457
max_results=100,
458458
max_results_size=10000,

0 commit comments

Comments
 (0)