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

Fix test.test_database.TestDatabaseAggregation.test_database_aggregation_unsupported

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.1
    • Affects Version/s: None
    • Component/s: Tests
    • None

      Another synchro test failure:

       [2019/10/01 17:47:47.395] ERROR: test_database_aggregation_unsupported (test.test_database.TestDatabaseAggregation)
       [2019/10/01 17:47:47.395] ----------------------------------------------------------------------
       [2019/10/01 17:47:47.395] Traceback (most recent call last):
       [2019/10/01 17:47:47.395]   File "/data/mci/1120b0807879c261f1aab94c6787fa76/src/.tox/synchro/tmp/mongo-python-driver/test/__init__.py", line 432, in wrap
       [2019/10/01 17:47:47.395]     return f(*args, **kwargs)
       [2019/10/01 17:47:47.395]   File "/data/mci/1120b0807879c261f1aab94c6787fa76/src/.tox/synchro/tmp/mongo-python-driver/test/test_database.py", line 1060, in test_database_aggregation_unsupported
       [2019/10/01 17:47:47.395]     pass
       [2019/10/01 17:47:47.434]   File "synchro/__init__.py", line 542, in __exit__
       [2019/10/01 17:47:47.434]     self.close()
       [2019/10/01 17:47:47.434]   File "synchro/__init__.py", line 120, in _wrap_synchro
       [2019/10/01 17:47:47.434]     motor_obj = fn(*args, **kwargs)
       [2019/10/01 17:47:47.434]   File "synchro/__init__.py", line 173, in _unwrap_synchro
       [2019/10/01 17:47:47.434]     return fn(*args, **kwargs)
       [2019/10/01 17:47:47.434]   File "synchro/__init__.py", line 304, in synchronized_method
       [2019/10/01 17:47:47.434]     return IOLoop.current().run_sync(partial)
       [2019/10/01 17:47:47.434]   File "/data/mci/1120b0807879c261f1aab94c6787fa76/src/.tox/synchro/lib/python2.7/site-packages/tornado/ioloop.py", line 576, in run_sync
       [2019/10/01 17:47:47.434]     return future_cell[0].result()
       [2019/10/01 17:47:47.434]   File "/data/mci/1120b0807879c261f1aab94c6787fa76/src/.tox/synchro/lib/python2.7/site-packages/tornado/concurrent.py", line 261, in result
       [2019/10/01 17:47:47.434]     raise_exc_info(self._exc_info)
       [2019/10/01 17:47:47.434]   File "/data/mci/1120b0807879c261f1aab94c6787fa76/src/.tox/synchro/lib/python2.7/site-packages/tornado/gen.py", line 1141, in run
       [2019/10/01 17:47:47.434]     yielded = self.gen.throw(*exc_info)
       [2019/10/01 17:47:47.434]   File "motor/core.py", line 1271, in close
       [2019/10/01 17:47:47.434]     yield self._framework.yieldable(self._close())
       [2019/10/01 17:47:47.434]   File "/data/mci/1120b0807879c261f1aab94c6787fa76/src/.tox/synchro/lib/python2.7/site-packages/tornado/gen.py", line 1133, in run
       [2019/10/01 17:47:47.434]     value = future.result()
       [2019/10/01 17:47:47.434]   File "/data/mci/1120b0807879c261f1aab94c6787fa76/src/.tox/synchro/lib/python2.7/site-packages/tornado/concurrent.py", line 261, in result
       [2019/10/01 17:47:47.434]     raise_exc_info(self._exc_info)
       [2019/10/01 17:47:47.434]   File "/data/mci/1120b0807879c261f1aab94c6787fa76/src/.tox/synchro/lib/python2.7/site-packages/tornado/gen.py", line 1141, in run
       [2019/10/01 17:47:47.434]     yielded = self.gen.throw(*exc_info)
       [2019/10/01 17:47:47.434]   File "motor/core.py", line 1397, in _close
       [2019/10/01 17:47:47.434]     yield self._framework.yieldable(self._CommandCursor__die())
       [2019/10/01 17:47:47.434]   File "/data/mci/1120b0807879c261f1aab94c6787fa76/src/.tox/synchro/lib/python2.7/site-packages/tornado/gen.py", line 1133, in run
       [2019/10/01 17:47:47.434]     value = future.result()
       [2019/10/01 17:47:47.434]   File "/data/mci/1120b0807879c261f1aab94c6787fa76/src/.tox/synchro/lib/python2.7/site-packages/tornado/concurrent.py", line 261, in result
       [2019/10/01 17:47:47.434]     raise_exc_info(self._exc_info)
       [2019/10/01 17:47:47.434]   File "<string>", line 3, in raise_exc_info
       [2019/10/01 17:47:47.434] TypeError: unbound method __die() must be called with CommandCursor instance as first argument (got _LatentCursor instance instead)
      

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: