Prevent JSThread exceptions in concurrency suite when global db is undefined

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.7
    • Affects Version/s: 3.1.6
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • Sharding 7 08/10/15
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The concurrency suite will print out these JSThread exceptions when a global db variable is undefined:

      js thread raised js exception: EmptyArrayOperation ReferenceError: assignment to undeclared variable db
      

      This is because guardedThreadFn in fsm_libs/thread_mgr.js unconditionally assigns null to db to aid garbage collection.

            Assignee:
            Kamran K. (Inactive)
            Reporter:
            Kamran K. (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: