Update test_concurrent_subprocess_access.py

This commit is contained in:
hajdul88 2025-10-10 15:43:43 +02:00
parent b61cdbb30c
commit ffc7b3b710

View file

@ -32,9 +32,9 @@ async def test_concurrent_subprocess_access():
await cognee.prune.prune_data()
await cognee.prune.prune_system(metadata=True)
writer_process = subprocess.Popen([os.sys.executable, "writer.py"])
writer_process = subprocess.Popen([os.sys.executable, "subprocesses/writer.py"])
reader_process = subprocess.Popen([os.sys.executable, "reader.py"])
reader_process = subprocess.Popen([os.sys.executable, "subprocesses/reader.py"])
# Wait for both processes to complete
writer_process.wait()