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

Test Failure - Various synchro tests

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2
    • Affects Version/s: None
    • Component/s: None
    • None

      I'm guessing this is just a bug in synchro.

       [2017/03/30 21:59:13.713] ======================================================================
       [2017/03/30 21:59:13.713] ERROR: test_list_indexes (test.test_collection.TestCollection)
       [2017/03/30 21:59:13.713] ----------------------------------------------------------------------
       [2017/03/30 21:59:13.713] Traceback (most recent call last):
       [2017/03/30 21:59:13.713]   File "/data/mci/96d574b1a625118af8e7305d319267cc/src/.tox/synchro/tmp/mongo-python-driver/test/test_collection.py", line 323, in test_list_indexes
       [2017/03/30 21:59:13.713]     indexes = list(db.test.list_indexes())
       [2017/03/30 21:59:13.713]   File "synchro/__init__.py", line 391, in __getattr__
       [2017/03/30 21:59:13.713]     return Collection(self.database, fullname, getattr(self.delegate, name))
       [2017/03/30 21:59:13.713]   File "synchro/__init__.py", line 380, in __init__
       [2017/03/30 21:59:13.713]     " got %s" % repr(self.delegate))
       [2017/03/30 21:59:13.713] TypeError: Expected to get synchro Collection from Database, got <bound method MotorCollection.list_indexes of MotorCollection(Collection(Database(MongoClient(host=[u'localhost:27017'], document_class=dict, tz_aware=False, connect=True, replicaset=u'repl0'), u'pymongo_test'), u'test'))>
       [2017/03/30 21:59:13.713] ======================================================================
       [2017/03/30 21:59:13.713] ERROR: test_first_batch_helper (test.test_monitoring.TestCommandMonitoring)
       [2017/03/30 21:59:13.713] ----------------------------------------------------------------------
       [2017/03/30 21:59:13.713] Traceback (most recent call last):
       [2017/03/30 21:59:13.713]   File "/data/mci/96d574b1a625118af8e7305d319267cc/src/.tox/synchro/tmp/mongo-python-driver/test/test_monitoring.py", line 1202, in test_first_batch_helper
       [2017/03/30 21:59:13.713]     tuple(self.client.pymongo_test.test.list_indexes())
       [2017/03/30 21:59:13.713]   File "synchro/__init__.py", line 391, in __getattr__
       [2017/03/30 21:59:13.713]     return Collection(self.database, fullname, getattr(self.delegate, name))
       [2017/03/30 21:59:13.713]   File "synchro/__init__.py", line 380, in __init__
       [2017/03/30 21:59:13.713]     " got %s" % repr(self.delegate))
       [2017/03/30 21:59:13.713] TypeError: Expected to get synchro Collection from Database, got <bound method MotorCollection.list_indexes of MotorCollection(Collection(Database(MongoClient(host=[u'localhost:27017'], document_class=dict, tz_aware=False, connect=True, event_listeners=[<test.utils.EventListener object at 0x7f9800949c90>], replicaset=u'repl0'), u'pymongo_test'), u'test'))>
      
       [2017/03/30 21:56:39.445] ======================================================================
       [2017/03/30 21:56:39.445] ERROR: test_parallel_scan_max_time_ms (test.test_collection.TestCollection)
       [2017/03/30 21:56:39.445] ----------------------------------------------------------------------
       [2017/03/30 21:56:39.445] Traceback (most recent call last):
       [2017/03/30 21:56:39.445]   File "/data/mci/24a6fc31d729fb4d52ad205aba3c2862/src/.tox/synchro/tmp/mongo-python-driver/test/__init__.py", line 324, in wrap
       [2017/03/30 21:56:39.445]     return f(*args, **kwargs)
       [2017/03/30 21:56:39.445]   File "/data/mci/24a6fc31d729fb4d52ad205aba3c2862/src/.tox/synchro/tmp/mongo-python-driver/test/__init__.py", line 324, in wrap
       [2017/03/30 21:56:39.445]     return f(*args, **kwargs)
       [2017/03/30 21:56:39.445]   File "/data/mci/24a6fc31d729fb4d52ad205aba3c2862/src/.tox/synchro/tmp/mongo-python-driver/test/__init__.py", line 324, in wrap
       [2017/03/30 21:56:39.445]     return f(*args, **kwargs)
       [2017/03/30 21:56:39.445]   File "/data/mci/24a6fc31d729fb4d52ad205aba3c2862/src/.tox/synchro/tmp/mongo-python-driver/test/test_collection.py", line 1613, in test_parallel_scan_max_time_ms
       [2017/03/30 21:56:39.445]     self.db.test.parallel_scan,
       [2017/03/30 21:56:39.445]   File "synchro/__init__.py", line 391, in __getattr__
       [2017/03/30 21:56:39.445]     return Collection(self.database, fullname, getattr(self.delegate, name))
       [2017/03/30 21:56:39.445]   File "synchro/__init__.py", line 380, in __init__
       [2017/03/30 21:56:39.445]     " got %s" % repr(self.delegate))
       [2017/03/30 21:56:39.445] TypeError: Expected to get synchro Collection from Database, got <bound method MotorCollection.parallel_scan of MotorCollection(Collection(Database(MongoClient(host=[u'localhost:27017'], document_class=dict, tz_aware=False, connect=True), u'pymongo_test'), u'test'))>
      

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

              Created:
              Updated:
              Resolved: