Initialize shared storage for all graph storage types in graph unit test
This commit is contained in:
parent
0c47d1a2d1
commit
36501b82f5
1 changed files with 3 additions and 3 deletions
|
|
@ -110,9 +110,9 @@ async def initialize_graph_storage():
|
|||
), # Working directory
|
||||
}
|
||||
|
||||
# If using NetworkXStorage, initialize shared_storage first
|
||||
if graph_storage_type == "NetworkXStorage":
|
||||
initialize_share_data() # Use single-process mode
|
||||
# Initialize shared_storage for all storage types (required for locks)
|
||||
# All graph storage implementations use locks like get_data_init_lock() and get_graph_db_lock()
|
||||
initialize_share_data() # Use single-process mode (workers=1)
|
||||
|
||||
try:
|
||||
storage = storage_class(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue