[LangGraph] ttl test is flaky

XMLWordPrintableJSON

    • 🔵 Done
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      I've seen tests/unit_tests/test_store.py::test_ttl fail intermittently on the pipeline and on this PR it is failing on every build:

      https://github.com/langchain-ai/langchain-mongodb/actions/runs/18021766613/job/51281125491?pr=214

      I think we need to add a delay between the find_one operations to ensure different timestamps.

            Assignee:
            Steve Silvester
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: