collation.js should use test-specific database

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.2, 3.5.2
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Query 2017-01-23
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As part of collation testing, core/collation.js will convert a non-capped collection to one that is capped via "convertToCapped" command, confirming that the default collation of the original collection is preserved.

      As part of the capped conversion, mongod will confirm that there are no background operations occurring via assertNoBgOpInProgForDb() call, asserting if there is a conflict.

      collation.js uses the "test" database for its operations. As we run collation.js as part of the parallel suite, this raises the possibility that the assertNoBgOpInProgForDb() will fail due active background index build on the same database by another test. We should consider changing collation.js to use a test-specific database to avoid potential conflict.

            Assignee:
            Tess Avitabile (Inactive)
            Reporter:
            James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: