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

Test failure - gridfs content_type related failures on Windows

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

       [2021/04/30 22:45:54.548] FAIL [0.060s]: test_content_type (asyncio_tests.test_aiohttp_gridfs.AIOHTTPGridFSHandlerTest)
       [2021/04/30 22:45:54.548] ----------------------------------------------------------------------
       [2021/04/30 22:45:54.548] Traceback (most recent call last):
       [2021/04/30 22:45:54.548]   File "C:\data\mci\494d9d7e757cd168d1320d627bcf6bb8\src\test\asyncio_tests\__init__.py", line 48, in __call__
       [2021/04/30 22:45:54.548]     result = self.orig_method()
       [2021/04/30 22:45:54.548]   File "C:\data\mci\494d9d7e757cd168d1320d627bcf6bb8\src\test\asyncio_tests\__init__.py", line 213, in wrapped
       [2021/04/30 22:45:54.548]     self.loop.run_until_complete(task)
       [2021/04/30 22:45:54.548]   File "c:\python\Python37\lib\asyncio\base_events.py", line 587, in run_until_complete
       [2021/04/30 22:45:54.548]     return future.result()
       [2021/04/30 22:45:54.548]   File "c:\python\Python37\lib\asyncio\tasks.py", line 442, in wait_for
       [2021/04/30 22:45:54.548]     return fut.result()
       [2021/04/30 22:45:54.549]   File "C:\data\mci\494d9d7e757cd168d1320d627bcf6bb8\src\test\asyncio_tests\test_aiohttp_gridfs.py", line 237, in test_content_type
       [2021/04/30 22:45:54.549]     response.headers['Content-Type'].lower())
       [2021/04/30 22:45:54.549] AssertionError: 'javascript' not found in 'text/plain'
       [2021/04/30 22:45:54.549] ======================================================================
       [2021/04/30 22:45:54.549] FAIL [0.067s]: test_content_type (tornado_tests.test_motor_web.GridFSHandlerTest)
       [2021/04/30 22:45:54.549] ----------------------------------------------------------------------
       [2021/04/30 22:45:54.549] Traceback (most recent call last):
       [2021/04/30 22:45:54.549]   File "C:\data\mci\494d9d7e757cd168d1320d627bcf6bb8\src\.tox\tornado6-py37\lib\site-packages\tornado\testing.py", line 98, in __call__
       [2021/04/30 22:45:54.549]     result = self.orig_method(*args, **kwargs)
       [2021/04/30 22:45:54.549]   File "C:\data\mci\494d9d7e757cd168d1320d627bcf6bb8\src\test\tornado_tests\test_motor_web.py", line 182, in test_content_type
       [2021/04/30 22:45:54.549]     expected_type))
       [2021/04/30 22:45:54.549] AssertionError: False is not true
      

      See this patch: https://evergreen.mongodb.com/version/608c86660ae60629b8d6286b

            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: