Skip to content

Commit e33c8e8

Browse files
committed
cleanup
1 parent 93edf33 commit e33c8e8

File tree

1 file changed

+3
-3
lines changed
  • libs/langgraph-checkpoint-mongodb/tests/unit_tests

1 file changed

+3
-3
lines changed

libs/langgraph-checkpoint-mongodb/tests/unit_tests/test_sync.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
)
1616
from langgraph.checkpoint.mongodb import MongoDBSaver
1717

18-
# Setup:
19-
# docker run --name mongodb -d -p 27017:27017 mongodb/mongodb-community-server
20-
MONGODB_URI = os.environ.get("MONGODB_URI", "mongodb://localhost:27017")
18+
MONGODB_URI = os.environ.get(
19+
"MONGODB_URI", "mongodb://localhost:27017/?directConnection=true"
20+
)
2121
DB_NAME = os.environ.get("DB_NAME", "langgraph-test")
2222
COLLECTION_NAME = "sync_checkpoints"
2323

0 commit comments

Comments
 (0)