Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19488

FSM tests - standalone tests invoked through ScopedThread

    • Server Tooling & Methods

      The FSM (concurrency) tests cannot be invoked to execute from mongo (shell) against a running mongod, through the ScopedThread call, since ScopeThreads will not have a global db variable to use. Defining a db variable before loading fsm_all.js has no effect on other ScopedThreads (created by the FSM framework) because global variables are not shared between ScopeThreads.

      The FSM framework assumes that a mongod was started by (re)smoke.py if sharding or replication isn't used by relying on the implicit db connection (i.e. fsm_all.js is incompatible with --nodb). This improvement is to Create a new "cluster" type that allows a specific port to be specified and gives that as the host the FSM worker threads will use.

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: