Robustify indexed_insert_text.js in read concern: local write concern: 1 scenario

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 5.0.0-rc0
    • Affects Version/s: 4.9.0-alpha4
    • Component/s: Query Execution
    • None
    • Fully Compatible
    • ALL
    • Query Execution 2021-05-31
    • 44
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      indexed_insert_text.js test suite main verification logic depends on the guarantee that the text index is created and visible to other transaction but due to read concern/write concern combination, it's not visible.

      The simplest fix on top of my head is to wait for the text index to be visible using getIndexes().

       

            Assignee:
            Yoon Soo Kim (Inactive)
            Reporter:
            Yoon Soo Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: