Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-124

"AutoReconnect: no primary is available" error due to import deadlock on Python 2 and Tornado 3

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 0.7
    • None
    • None
    • None

    Description

      A Motor 0.7 beta tester has run his test suite and reports an error only in the first of his 750 tests.

      i'm just running a single host inside the replica (locally).

      python 2.7.11
      pymongo 2.9.4
      motor 0.7b0

      that script does work for me. it's odd it's only the first class that runs that has problems. other test classes work fine. this is a suite of ~750 tests. all of them read/write to mongo, so it works sometimes.

      i'm using nose as my runner, for what that's worth. i don't explicitly pass an ioloop, but i do override the `get_new_ioloop` from tornado's AsyncTestCase to just return "IOLoop.instance()"

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: