Update tests/mgbench/datasets.py

Co-authored-by: Jure Bajic <jure.bajic@memgraph.com>
This commit is contained in:
Jeremy B 2022-11-02 14:13:40 +01:00 committed by GitHub
parent 014836ca3c
commit 1148fe9aad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -349,7 +349,7 @@ class AccessControl(Dataset):
def __init__(self, variant=None):
super().__init__(variant)
self.next_value_idx = Dataset.get_size(self)["vertices"] + 1
self.next_value_idx = self.get_size()["vertices"] + 1
def benchmark__create__vertex(self):
self.next_value_idx += 1