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

Test failure - asyncio_tests.test_example.TestExamples.test_transactions

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

      A bug seems to have been introduced in MOTOR-370 that causes this test to fail on all variants that support transactions with SSL enabled. The full error/failure message is:

      ERROR:  (TimeoutError)
      Traceback (most recent call last):
        File "/data/mci/80e41d098c576850a26dfd4cdc053bcb/src/test/asyncio_tests/__init__.py", line 48, in __call__
          result = self.orig_method()
        File "/data/mci/80e41d098c576850a26dfd4cdc053bcb/src/test/test_environment.py", line 283, in wrap
          return f(*args, **kwargs)
        File "/data/mci/80e41d098c576850a26dfd4cdc053bcb/src/test/test_environment.py", line 283, in wrap
          return f(*args, **kwargs)
        File "/data/mci/80e41d098c576850a26dfd4cdc053bcb/src/test/asyncio_tests/__init__.py", line 214, in wrapped
          self.loop.run_until_complete(task)
        File "/opt/python/3.6/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
          return future.result()
        File "/opt/python/3.6/lib/python3.6/asyncio/tasks.py", line 362, in wait_for
          raise futures.TimeoutError()
      concurrent.futures._base.TimeoutError
      
      Stdout:
      Transaction committed.
      MotorChangeStream never created ChangeStream
      system-out:
      
      {'_id': ObjectId('5dcc8717f70f50bd561f2a94'), 'sku': 'nuts-111', 'name': 'Pecans', 'start': datetime.datetime(2019, 11, 13, 22, 43, 35, 816000)}
      Transaction committed.
      MotorChangeStream never created ChangeStream
      	
      system-err:

       

            Assignee:
            prashant.mital Prashant Mital (Inactive)
            Reporter:
            prashant.mital Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: